- API ›
- Constructors ›
- UpdateServiceNotification
UpdateServiceNotification
---types--- updateServiceNotification#ebe46819 popup:flags.0?true invert_media:flags.2?true inbox_date:flags.1?int type:string message:string media:MessageMedia entities:Vector<MessageEntity> = Update
Belongs to
| Update |
In Rust this constructor is a variant of the enums::Update enum.
Match on it with: if let enums::Update::UpdateServiceNotification(v) = result { ... }
Parameters
| popup | true | optional |
| invert_media | true | optional |
| inbox_date | int | optional |
| type | string | required |
| message | string | required |
| media | MessageMedia | required |
| entities | Vector<MessageEntity> | required |