Class: TD::Types::SharedChat

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/shared_chat.rb

Overview

Contains information about a chat shared with a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#photoTD::Types::Photo?

Photo of the chat; for bots only; may be null.

Returns:



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

def photo
  @photo
end

#titleTD::Types::String

Title of the chat; for bots only.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end

#usernameTD::Types::String

Username of the chat; for bots only.

Returns:

  • (TD::Types::String)

    the current value of username



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

def username
  @username
end