Module slacker_chat

Function Index

delete/3Deletes a message from a channel.
post_message/4Post a message.
update/5Updates a message in a channel.

Function Details

delete/3

delete(Token::string(), Timestamp::string(), Channel::string()) -> http_response()

Deletes a message from a channel.

post_message/4

post_message(Token::string(), Channel::string(), Message::string(), Options::list()) -> http_response()

Post a message.

Options can be: username: name of the bot as_user: pass true to post the message as the authed user, instead of as a bot parse: see https://api.slack.com/docs/formatting link_names: find and link channel names and usernames attachments: structured message attachments unfurl_links: true to enable unfurling of primarily text-based content unfurl_media: false to disable unfurling of media content icon_url: URL to an image to use as the icon for this message icon_emoji: emoji to use as the icon for this message

update/5

update(Token::string(), Timestamp::string(), Channel::string(), Text::string(), Options::list()) -> http_response()

Updates a message in a channel.

Options can be: attachments: structured message attachments parse: see https://api.slack.com/docs/formatting link_names: find and link channel names and usernames


Generated by EDoc, Feb 3 2016, 17:11:45.