Skip to main content

inputBusinessRecipients

Specifies the chats that can receive Telegram Business away » and greeting » messages. If exclude_selected is set, specifies all chats that cannot receive Telegram Business away » and greeting » messages.

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

Fields

NameTypeRequiredDescription
ExistingChatsboolAll existing private chats.
NewChatsboolAll new private chats.
ContactsboolAll private chats with contacts.
NonContactsboolAll private chats with non-contacts.
ExcludeSelectedboolIf set, inverts the selection.
Users[]InputUserClassOnly private chats with the specified users.

References