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 reference to the original sender; pass null to forward the message as usual.

Returns:



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

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



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

def from_chat_id
  @from_chat_id
end

#in_game_shareBoolean

True, if a game message is being shared from a launched game; applies only to game messages.

Returns:

  • (Boolean)

    the current value of in_game_share



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

def in_game_share
  @in_game_share
end

#message_idInteger

Identifier of the message to forward. A message can be forwarded only if messageProperties.can_be_forwarded.

Returns:

  • (Integer)

    the current value of message_id



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

def message_id
  @message_id
end