Class: TD::Types::MessageOrigin::Channel

Inherits:
TD::Types::MessageOrigin show all
Defined in:
lib/tdlib/types/message_origin/channel.rb

Overview

The message was originally a post in a channel.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#author_signatureTD::Types::String

Original post author signature.

Returns:

  • (TD::Types::String)

    the current value of author_signature



7
8
9
# File 'lib/tdlib/types/message_origin/channel.rb', line 7

def author_signature
  @author_signature
end

#chat_idInteger

Identifier of the channel chat to which the message was originally sent.

Returns:

  • (Integer)

    the current value of chat_id



7
8
9
# File 'lib/tdlib/types/message_origin/channel.rb', line 7

def chat_id
  @chat_id
end

#message_idInteger

Message identifier of the original message.

Returns:

  • (Integer)

    the current value of message_id



7
8
9
# File 'lib/tdlib/types/message_origin/channel.rb', line 7

def message_id
  @message_id
end