Class: TD::Types::Update::ChatDraftMessage
- Inherits:
-
TD::Types::Update
- Object
- Dry::Struct
- Base
- TD::Types::Update
- TD::Types::Update::ChatDraftMessage
- Defined in:
- lib/tdlib/types/update/chat_draft_message.rb
Overview
A chat draft has changed. Be aware that the update may come in the currently opened chat but with old content of the draft. If the user has changed the content of the draft, this update shouldn't be applied.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#draft_message ⇒ TD::Types::DraftMessage?
The new draft message; may be null.
-
#order ⇒ Integer
New value of the chat order.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
9 10 11 |
# File 'lib/tdlib/types/update/chat_draft_message.rb', line 9 def chat_id @chat_id end |
#draft_message ⇒ TD::Types::DraftMessage?
The new draft message; may be null.
9 10 11 |
# File 'lib/tdlib/types/update/chat_draft_message.rb', line 9 def @draft_message end |
#order ⇒ Integer
New value of the chat order.
9 10 11 |
# File 'lib/tdlib/types/update/chat_draft_message.rb', line 9 def order @order end |