Class: TD::Types::PageBlock::ChatLink
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::ChatLink
- Defined in:
- lib/tdlib/types/page_block/chat_link.rb
Overview
A link to a chat.
Instance Attribute Summary collapse
-
#accent_color_id ⇒ Integer
Identifier of the accent color for chat title and background of chat photo.
-
#photo ⇒ TD::Types::ChatPhotoInfo?
Chat photo; may be null.
-
#title ⇒ TD::Types::String
Chat title.
-
#username ⇒ TD::Types::String
Chat username by which all other information about the chat can be resolved.
Method Summary
Methods inherited from Base
Instance Attribute Details
#accent_color_id ⇒ Integer
Identifier of the accent color for chat title and background of chat photo.
8 9 10 |
# File 'lib/tdlib/types/page_block/chat_link.rb', line 8 def accent_color_id @accent_color_id end |
#photo ⇒ TD::Types::ChatPhotoInfo?
Chat photo; may be null.
8 9 10 |
# File 'lib/tdlib/types/page_block/chat_link.rb', line 8 def photo @photo end |
#title ⇒ TD::Types::String
Chat title.
8 9 10 |
# File 'lib/tdlib/types/page_block/chat_link.rb', line 8 def title @title end |
#username ⇒ TD::Types::String
Chat username by which all other information about the chat can be resolved.
8 9 10 |
# File 'lib/tdlib/types/page_block/chat_link.rb', line 8 def username @username end |