slackline/api/chat/delete_scheduled_message

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Setters for the optional arguments of chat.deleteScheduledMessage. Each setter takes the call that chat.delete_scheduled_message returns and sets one argument:

chat.delete_scheduled_message(channel: "C123456789", scheduled_message_id: "Q1234ABCD")
|> delete_scheduled_message.as_user(True)

Values

pub fn as_user(
  call: slackline.Call(chat.DeleteScheduledMessage, r),
  as_user: Bool,
) -> slackline.Call(chat.DeleteScheduledMessage, r)

Pass true to delete the message as the authed user with chat:write:user scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with chat:write:bot scope.

✨ Search Document