abacusai.bot_channel_options

Classes

BotChannelOptions

What the Personal Agents channel screens may offer on this cluster

Module Contents

class abacusai.bot_channel_options.BotChannelOptions(client, sharedChannels=None, telegramBotUsername=None, channels=None)

Bases: abacusai.return_class.AbstractApiClass

What the Personal Agents channel screens may offer on this cluster

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • sharedChannels (list) – Channels this cluster runs a shared Abacus bot for, so they link by QR / deep link with no user-supplied tokens.

  • telegramBotUsername (str) – The shared Telegram bot’s username, when there is one.

  • channels (list) – Every supported channel: channel, label, whether it is shared, whether the ‘use your own bot’ screen should offer it (offers_own_bot), and the credential form it takes (credential_fields: key/label/secret, in display order).

shared_channels = None
telegram_bot_username = None
channels = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict