Class: TD::Types::InputMessageReplyTo::ExternalMessage

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

Overview

Describes a message to be replied that is from a different chat or a forum topic; not supported in secret chats.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

The identifier of the chat to which the message to be replied belongs.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#message_idInteger

The identifier of the message to be replied in the specified chat. A message can be replied in another chat or forum topic only if messageProperties.can_be_replied_in_another_chat.

Returns:

  • (Integer)

    the current value of message_id



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

def message_id
  @message_id
end

#quoteTD::Types::InputTextQuote

Quote from the message to be replied; pass null if none.

Returns:



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

def quote
  @quote
end