slackline/api/rtm/start
This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.
Setters for the optional arguments of
rtm.start. Each
setter takes the call that rtm.start returns and sets one argument:
rtm.start()
|> start.simple_latest(True)
Values
pub fn batch_presence_aware(
call: slackline.Call(rtm.Start, r),
batch_presence_aware: Bool,
) -> slackline.Call(rtm.Start, r)
Batch presence deliveries via subscription. Enabling changes the shape of
presence_change events. See batch
presence.
Defaults to false.
pub fn include_locale(
call: slackline.Call(rtm.Start, r),
include_locale: Bool,
) -> slackline.Call(rtm.Start, r)
Set this to true to receive the locale for users and channels. Defaults to
false
pub fn mpim_aware(
call: slackline.Call(rtm.Start, r),
mpim_aware: Bool,
) -> slackline.Call(rtm.Start, r)
Returns MPIMs to the client in the API response.
pub fn no_latest(
call: slackline.Call(rtm.Start, r),
no_latest: Bool,
) -> slackline.Call(rtm.Start, r)
Exclude latest timestamps for channels, groups, mpims, and ims.
Automatically sets no_unreads to 1 Defaults to 0.
pub fn no_unreads(
call: slackline.Call(rtm.Start, r),
no_unreads: Bool,
) -> slackline.Call(rtm.Start, r)
Skip unread counts for each channel (improves performance).
pub fn presence_sub(
call: slackline.Call(rtm.Start, r),
presence_sub: Bool,
) -> slackline.Call(rtm.Start, r)
Only deliver presence events when requested by subscription. See presence
subscriptions.
Defaults to true.
pub fn simple_latest(
call: slackline.Call(rtm.Start, r),
simple_latest: Bool,
) -> slackline.Call(rtm.Start, r)
Return timestamp only for latest message object of each channel (improves performance).