slackline/api/rtm/connect

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

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

rtm.connect()
|> connect.batch_presence_aware(True)

Values

pub fn batch_presence_aware(
  call: slackline.Call(rtm.Connect, r),
  batch_presence_aware: Bool,
) -> slackline.Call(rtm.Connect, r)

Batch presence deliveries via subscription. Enabling changes the shape of presence_change events. See batch presence.

pub fn presence_sub(
  call: slackline.Call(rtm.Connect, r),
  presence_sub: Bool,
) -> slackline.Call(rtm.Connect, r)

Only deliver presence events when requested by subscription. See presence subscriptions.

✨ Search Document