Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Last active September 3, 2015 06:29
Show Gist options
  • Save andy0130tw/73291812d3851a178cbc to your computer and use it in GitHub Desktop.
Save andy0130tw/73291812d3851a178cbc to your computer and use it in GitHub Desktop.
Message subtype of Slack -- notes when coding #slackbackup.
bot_message: A message was posted by an integration
bot_id
username
icons
me_message: A /me message was sent
message_changed: A message was changed
(hidden)
message
message_deleted: A message was deleted
(hidden)
deleted_ts
channel_join: A team member joined a channel
inviter
_template: {user} has joined the channel
channel_leave: A team member left a channel
_template: {user} has left the channel
channel_topic: A channel topic was updated
topic
_template: {user} set the channel topic: {topic}
channel_purpose: A channel purpose was updated
purpose
_template: {user} set the channel purpose: {purpose}
channel_name: A channel was renamed
old_name
name
_template: {user} has renamed the channel from "{old_name}" to "{name}"
channel_archive: A channel was archived
members
_template: {user} archived the channel
channel_unarchive: A channel was unarchived
_template: {user} un-archived the channel
group_join: A team member joined a group
inviter
_template: {user} has joined the group
group_leave: A team member left a group
group_topic: A group topic was updated
group_purpose: A group purpose was updated
group_name: A group was renamed
group_archive: A group was archived
group_unarchive: A group was unarchived
file_share: A file was shared into a channel
file
upload
_template: {user} (shared|uploaded) a file: {file}( and commented: ...)?
file_comment: A comment was added to a file
file
comment
_template: {user} commented on {user}'s file {file}: ...
file_mention: A file was mentioned in a channel
WTF
pinned_item: An item was pinned in a channel
item
item_type
_template: <@U024BE7LH|cal> pinned their {_type} {file|message|...} to this channel.
unpinned_item: An item was unpinned from a channel
---
item type for pinned item:
+ * `C`: channel message
+ * `G`: private group message
+ * `F`: file
+ * `Fc`: file comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment