Class: TD::Types::SharedChat
- Defined in:
- lib/tdlib/types/shared_chat.rb
Overview
Contains information about a chat shared with a bot.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier.
-
#photo ⇒ TD::Types::Photo?
Photo of the chat; for bots only; may be null.
-
#title ⇒ TD::Types::String
Title of the chat; for bots only.
-
#username ⇒ TD::Types::String
Username of the chat; for bots only.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier.
8 9 10 |
# File 'lib/tdlib/types/shared_chat.rb', line 8 def chat_id @chat_id end |
#photo ⇒ TD::Types::Photo?
Photo of the chat; for bots only; may be null.
8 9 10 |
# File 'lib/tdlib/types/shared_chat.rb', line 8 def photo @photo end |
#title ⇒ TD::Types::String
Title of the chat; for bots only.
8 9 10 |
# File 'lib/tdlib/types/shared_chat.rb', line 8 def title @title end |
#username ⇒ TD::Types::String
Username of the chat; for bots only.
8 9 10 |
# File 'lib/tdlib/types/shared_chat.rb', line 8 def username @username end |