Class: TD::Types::PageBlock::ChatLink

Inherits:
TD::Types::PageBlock show all
Defined in:
lib/tdlib/types/page_block/chat_link.rb

Overview

A link to a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#photoTD::Types::ChatPhoto?

Chat photo; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/page_block/chat_link.rb', line 7

def photo
  @photo
end

#titleString

Chat title.

Returns:

  • (String)

    the current value of title



7
8
9
# File 'lib/tdlib/types/page_block/chat_link.rb', line 7

def title
  @title
end

#usernameString

Chat username, by which all other information about the chat should be resolved.

Returns:

  • (String)

    the current value of username



7
8
9
# File 'lib/tdlib/types/page_block/chat_link.rb', line 7

def username
  @username
end