MessageSendOptionsInput
Options to be used when a message is sent.
This is an alias for the MessageSendOptionsInputUnion
type.
chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
_ | "messageSendOptions" | |
disableNotification | boolean | Pass true to disable notification for the message |
fromBackground | boolean | Pass true if the message is sent from the background |
protectContent | boolean | Pass true if the content of the message must be protected from forwarding and saving; for bots only |
schedulingState | 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 |