slackline/api/chat/delete

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

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

chat.delete(channel: "channel", ts: "\"1405894322.002768\"")
|> delete.as_user(True)

Values

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

(Legacy) Pass true to delete the message as the authed user with chat:write:user scope. Bot users in this context are considered authed users. See legacy as_user parameter below.

✨ Search Document