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.
-
#input_message_text ⇒ TD::Types::InputMessageContent
Content of the message draft; this should always be of type inputMessageText.
-
#reply_to_message_id ⇒ Integer
Identifier of the message to reply to; 0 if none.
Method Summary
Methods inherited from Base
Instance Attribute Details
#date ⇒ Integer
Point in time (Unix timestamp) when the draft was created.
8 9 10 |
# File 'lib/tdlib/types/draft_message.rb', line 8 def date @date end |
#input_message_text ⇒ TD::Types::InputMessageContent
Content of the message draft; this should always be of type inputMessageText.
8 9 10 |
# File 'lib/tdlib/types/draft_message.rb', line 8 def @input_message_text end |
#reply_to_message_id ⇒ Integer
Identifier of the message to reply to; 0 if none.
8 9 10 |
# File 'lib/tdlib/types/draft_message.rb', line 8 def @reply_to_message_id end |