Class: TD::Types::MessageSendOptions
- Defined in:
- lib/tdlib/types/message_send_options.rb
Overview
Options to be used when a message is sent.
Instance Attribute Summary collapse
-
#disable_notification ⇒ Boolean
Pass true to disable notification for the message.
-
#from_background ⇒ Boolean
Pass true if the message is sent from the background.
-
#scheduling_state ⇒ TD::Types::MessageSchedulingState
Message scheduling state.
Method Summary
Methods inherited from Base
Instance Attribute Details
#disable_notification ⇒ Boolean
Pass true to disable notification for the message.
8 9 10 |
# File 'lib/tdlib/types/message_send_options.rb', line 8 def disable_notification @disable_notification end |
#from_background ⇒ Boolean
Pass true if the message is sent from the background.
8 9 10 |
# File 'lib/tdlib/types/message_send_options.rb', line 8 def from_background @from_background end |
#scheduling_state ⇒ TD::Types::MessageSchedulingState
Message scheduling state. Messages sent to a secret chat, live location messages and self-destructing messages can’t be scheduled.
8 9 10 |
# File 'lib/tdlib/types/message_send_options.rb', line 8 def scheduling_state @scheduling_state end |