Skip to main content

businessRecipients

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.BusinessRecipients struct { /* ... */ }

Fields​

NameTypeRequiredDescription
ExistingChatsbool—All existing private chats.
NewChatsbool—All new private chats.
Contactsbool—All private chats with contacts.
NonContactsbool—All private chats with non-contacts.
ExcludeSelectedbool—If set, inverts the selection.
Users[]int64—Only private chats with the specified users.

References​