Layer 220
BusinessRecipients
Specifies the chats that can receive Telegram Business away and greeting messages.
constructor
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| 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 | Vector<long> | Only private chats with the specified users. |
Returns
BusinessRecipientsGogram Example
// Creating BusinessRecipients constructor obj := &tg.BusinessRecipients{ // Optional fields: // ExistingChats: true, // NewChats: true, // Contacts: true, // NonContacts: true, // ... more optional fields }