slackline/api/assistant/threads_set_status
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
assistant.threads.setStatus.
Each setter takes the call that assistant.threads_set_status returns and
sets one argument:
assistant.threads_set_status(channel_id: "channel_id", thread_ts: "thread_ts", status: "status")
|> threads_set_status.loading_messages(loading_messages)
Values
pub fn icon_emoji(
call: slackline.Call(assistant.ThreadsSetStatus, r),
icon_emoji: String,
) -> slackline.Call(assistant.ThreadsSetStatus, r)
Emoji to use as the icon for this message. Overrides icon_url.
pub fn icon_url(
call: slackline.Call(assistant.ThreadsSetStatus, r),
icon_url: String,
) -> slackline.Call(assistant.ThreadsSetStatus, r)
Image URL to use as the icon for this message.
pub fn loading_messages(
call: slackline.Call(assistant.ThreadsSetStatus, r),
loading_messages: List(String),
) -> slackline.Call(assistant.ThreadsSetStatus, r)
Messages to rotate through as a loading indicator. Between 1 and 10.
pub fn username(
call: slackline.Call(assistant.ThreadsSetStatus, r),
username: String,
) -> slackline.Call(assistant.ThreadsSetStatus, r)
The bot’s username to display.