Class: TD::Types::InputMessageReplyTo::Message

Inherits:
TD::Types::InputMessageReplyTo show all
Defined in:
lib/tdlib/types/input_message_reply_to/message.rb

Overview

Describes a message to be replied in the same chat and forum topic.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#message_idInteger

The identifier of the message to be replied in the same chat and forum topic. A message can be replied in the same chat and forum topic only if messageProperties.can_be_replied.

Returns:

  • (Integer)

    the current value of message_id



8
9
10
# File 'lib/tdlib/types/input_message_reply_to/message.rb', line 8

def message_id
  @message_id
end

#quoteTD::Types::InputTextQuote

Quote from the message to be replied; pass null if none. Must always be null for replies in secret chats.

Returns:



8
9
10
# File 'lib/tdlib/types/input_message_reply_to/message.rb', line 8

def quote
  @quote
end