Skip to main content

inputBusinessBotRecipients

Specifies the private chats that a connected business bot » may interact with.

type tg.InputBusinessBotRecipients struct { /* ... */ }

Fields

NameTypeRequiredDescription
ExistingChatsboolSelects all existing private chats.
NewChatsboolSelects all new private chats.
ContactsboolSelects all private chats with contacts.
NonContactsboolSelects all private chats with non-contacts.
ExcludeSelectedboolIf set, then all private chats except the ones selected by existing_chats, new_chats, contacts, non_contacts and users are chosen. Note that if this flag is set, any values passed in exclude_users will be merged and moved into users by the server.
Users[]InputUserClassExplicitly selected private chats.
ExcludeUsers[]InputUserClassIdentifiers of private chats that are always excluded.

References