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

#accent_color_idInteger

Identifier of the accent color for chat title and background of chat photo.

Returns:

  • (Integer)

    the current value of accent_color_id



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

def accent_color_id
  @accent_color_id
end

#photoTD::Types::ChatPhotoInfo?

Chat photo; may be null.

Returns:



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

def photo
  @photo
end

#titleTD::Types::String

Chat title.

Returns:

  • (TD::Types::String)

    the current value of title



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

def title
  @title
end

#usernameTD::Types::String

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

Returns:

  • (TD::Types::String)

    the current value of username



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

def username
  @username
end