View Source ExTDLib.Object.MessageSendOptions (ExTDLib v0.0.4)
Options to be used when a message is sent.
| Name | Type | Description |
|---|---|---|
| disable_notification | bool | Pass true to disable notification for the message. |
| from_background | bool | Pass true if the message is sent from the background. |
| protect_content | bool | Pass true if the content of the message must be protected from forwarding and saving; for bots only. |
| update_order_of_installed_sticker_sets | bool | Pass true if the user explicitly chosen a sticker or a custom emoji from an installed sticker set; applicable only to sendMessage and sendMessageAlbum. |
| scheduling_state | MessageSchedulingState | Message scheduling state; pass null to send message immediately. Messages sent to a secret chat, live location messages and self-destructing messages can't be scheduled. |
| sending_id | number | Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates. |
| only_preview | bool | Pass true to get a fake message instead of actually sending them. |
More details on telegram's documentation.