Class: TD::Types::LinkPreviewType::Chat
- Inherits:
-
TD::Types::LinkPreviewType
- Object
- Dry::Struct
- Base
- TD::Types::LinkPreviewType
- TD::Types::LinkPreviewType::Chat
- Defined in:
- lib/tdlib/types/link_preview_type/chat.rb
Overview
The link is a link to a chat.
Instance Attribute Summary collapse
-
#creates_join_request ⇒ Boolean
True, if the link only creates join request.
-
#photo ⇒ TD::Types::ChatPhoto?
Photo of the chat; may be null.
-
#type ⇒ TD::Types::InviteLinkChatType
Type of the chat.
Method Summary
Methods inherited from Base
Instance Attribute Details
#creates_join_request ⇒ Boolean
True, if the link only creates join request.
7 8 9 |
# File 'lib/tdlib/types/link_preview_type/chat.rb', line 7 def creates_join_request @creates_join_request end |
#photo ⇒ TD::Types::ChatPhoto?
Photo of the chat; may be null.
7 8 9 |
# File 'lib/tdlib/types/link_preview_type/chat.rb', line 7 def photo @photo end |
#type ⇒ TD::Types::InviteLinkChatType
Type of the chat.
7 8 9 |
# File 'lib/tdlib/types/link_preview_type/chat.rb', line 7 def type @type end |