Class: TD::Types::DraftMessage
- Defined in:
- lib/tdlib/types/draft_message.rb
Overview
Contains information about a message draft.
Instance Attribute Summary collapse
-
#date ⇒ Integer
Point in time (Unix timestamp) when the draft was created.
-
#effect_id ⇒ Integer
Identifier of the effect to apply to the message when it is sent; 0 if none.
-
#input_message_text ⇒ TD::Types::InputMessageContent
Content of the message draft; must be of the type inputMessageText, inputMessageVideoNote, or inputMessageVoiceNote.
-
#reply_to ⇒ TD::Types::InputMessageReplyTo?
Information about the message to be replied; must be of the type inputMessageReplyToMessage; may be null if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Point in time (Unix timestamp) when the draft was created.
10 11 12 |
# File 'lib/tdlib/types/draft_message.rb', line 10 def date @date end |
#effect_id ⇒ Integer
Identifier of the effect to apply to the message when it is sent; 0 if none.
10 11 12 |
# File 'lib/tdlib/types/draft_message.rb', line 10 def effect_id @effect_id end |
#input_message_text ⇒ TD::Types::InputMessageContent
Content of the message draft; must be of the type inputMessageText, inputMessageVideoNote, or inputMessageVoiceNote.
10 11 12 |
# File 'lib/tdlib/types/draft_message.rb', line 10 def end |
#reply_to ⇒ TD::Types::InputMessageReplyTo?
Information about the message to be replied; must be of the type inputMessageReplyToMessage; may be null if none.
10 11 12 |
# File 'lib/tdlib/types/draft_message.rb', line 10 def reply_to @reply_to end |