Struct slack_hook3::PayloadBuilder [−][src]
pub struct PayloadBuilder { /* fields omitted */ }
Expand description
PayloadBuilder
is used to build a Payload
Implementations
Make a new PayloadBuilder
Set the text
Set the channel
Set the username
Set the icon_emoji
Set the icon_url
Set the attachments
whether slack will try to fetch links and create an attachment https://api.slack.com/docs/unfurling
Pass false to disable unfurling of media content
Find and link channel names and usernames.
Change how messages are treated.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PayloadBuilder
impl Send for PayloadBuilder
impl Sync for PayloadBuilder
impl Unpin for PayloadBuilder
impl UnwindSafe for PayloadBuilder