Layer 227
InputBusinessRecipientsObj
Specifies the chats that can receive Telegram Business away and greeting messages.
constructor
inputBusinessRecipients#6f8b32aa 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<InputUser> = InputBusinessRecipients;
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 < InputUser > | Only private chats with the specified users. |
Returns
InputBusinessRecipientsGogram Example
// Creating InputBusinessRecipientsObj constructor obj := &tg.InputBusinessRecipientsObj{ ExistingChats: nil, NewChats: nil, Contacts: nil, NonContacts: nil, ExcludeSelected: nil, Users: nil, }