Crate slack_hook [−] [src]
Library to send messages to slack rooms supports entire messaging API, including attachments and fields also support for built-in colors as well as any hex colors
Reexports
pub extern crate url; |
pub extern crate chrono; |
Structs
Attachment |
Slack allows for attachments to be added to messages. See https://api.slack.com/docs/attachments for more information. |
AttachmentBuilder |
|
Error |
The Error type. |
Field |
Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment. |
HexColor |
A |
Payload |
Payload to send to slack https://api.slack.com/incoming-webhooks https://api.slack.com/methods/chat.postMessage |
PayloadBuilder |
|
Slack |
Handles sending messages to slack |
SlackLink |
Representation of a link sent in slack |
SlackText |
Representation of any text sent through slack the text must be processed to escape specific characters |
SlackTime |
Slack timestamp |
Enums
Parse |
Change how messages are treated. |
SlackColor |
Default slack colors built-in to the API See: https://api.slack.com/docs/attachments |
SlackTextContent |
Enum used for constructing a text field having both |
Traits
TryFrom |
Waiting to stabilize: https://github.com/rust-lang/rust/issues/33417 |
TryInto |
Waiting to stabilize: https://github.com/rust-lang/rust/issues/33417 |
Type Definitions
Result |
Convenient wrapper around |