Class: TD::Types::LinkPreviewType::Chat

Inherits:
TD::Types::LinkPreviewType show all
Defined in:
lib/tdlib/types/link_preview_type/chat.rb

Overview

The link is a link to a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#creates_join_requestBoolean

True, if the link only creates join request.

Returns:

  • (Boolean)

    the current value of 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

#photoTD::Types::ChatPhoto?

Photo of the chat; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/link_preview_type/chat.rb', line 7

def photo
  @photo
end

#typeTD::Types::InviteLinkChatType

Type of the chat.

Returns:



7
8
9
# File 'lib/tdlib/types/link_preview_type/chat.rb', line 7

def type
  @type
end