Layer 227
BusinessRecipientsObj
Specifies the chats that can receive Telegram Business away and greeting messages.
constructor
businessRecipients#21108ff7 flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector<long> = BusinessRecipients;
Parameters
| Name | Type | Description |
|---|---|---|
| ExistingChats | flags .0? true | All existing private chats. |
| NewChats | flags .1? true | All new private chats. |
| Contacts | flags .2? true | All private chats with contacts. |
| NonContacts | flags .3? true | All private chats with non-contacts. |
| ExcludeSelected | flags .5? true | If set, inverts the selection. |
| Users | flags .4? Vector < long > | Only private chats with the specified users. |
Returns
BusinessRecipientsGogram Example
// Creating BusinessRecipientsObj constructor obj := &tg.BusinessRecipientsObj{ ExistingChats: nil, NewChats: nil, Contacts: nil, NonContacts: nil, ExcludeSelected: nil, Users: nil, }