Class: TD::Types::SendMessageOptions
- Defined in:
- lib/tdlib/types/send_message_options.rb
Overview
Options to be used when a message is send.
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. Must be false if the message is sent to a secret chat.
9 10 11 |
# File 'lib/tdlib/types/send_message_options.rb', line 9 def disable_notification @disable_notification end |
#from_background ⇒ Boolean
Pass true if the message is sent from the background.
9 10 11 |
# File 'lib/tdlib/types/send_message_options.rb', line 9 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.
9 10 11 |
# File 'lib/tdlib/types/send_message_options.rb', line 9 def scheduling_state @scheduling_state end |