Method schema is available as of layer 217. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| pinned | flags.2?true | |
| noforwards | flags.4?true | |
| rtmp_stream | flags.5?true | |
| peer | InputPeer | |
| caption | flags.0?string | |
| entities | flags.1?Vector<MessageEntity> | Message entities for styled text |
| privacy_rules | Vector<InputPrivacyRule> | |
| random_id | long | |
| messages_enabled | flags.6?Bool | |
| send_paid_messages_stars | flags.7?long |
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to create styled text with message entities