Class: TD::Types::MessageSender::Chat

Inherits:
TD::Types::MessageSender show all
Defined in:
lib/tdlib/types/message_sender/chat.rb

Overview

The message was sent on behalf of a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat that sent the message.

Returns:

  • (Integer)

    the current value of chat_id



5
6
7
# File 'lib/tdlib/types/message_sender/chat.rb', line 5

def chat_id
  @chat_id
end