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::ChatPhotoInfo?

Chat photo; may be null.

Returns:



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

def photo
  @photo
end

#titleTD::Types::String

Chat title.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end

#usernameTD::Types::String

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

Returns:

  • (TD::Types::String)

    the current value of username



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

def username
  @username
end