Class: TD::Types::InputMessageContent::Forwarded

Inherits:
TD::Types::InputMessageContent show all
Defined in:
lib/tdlib/types/input_message_content/forwarded.rb

Overview

A forwarded message.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#copy_optionsTD::Types::MessageCopyOptions

Options to be used to copy content of the message without a link to the original message.

Returns:



10
11
12
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 10

def copy_options
  @copy_options
end

#from_chat_idInteger

Identifier for the chat this forwarded message came from.

Returns:

  • (Integer)

    the current value of from_chat_id



10
11
12
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 10

def from_chat_id
  @from_chat_id
end

#in_game_shareBoolean

True, if a game message should be shared within a launched game; applies only to game messages.

Returns:

  • (Boolean)

    the current value of in_game_share



10
11
12
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 10

def in_game_share
  @in_game_share
end

#message_idInteger

Identifier of the message to forward.

Returns:

  • (Integer)

    the current value of message_id



10
11
12
# File 'lib/tdlib/types/input_message_content/forwarded.rb', line 10

def message_id
  @message_id
end