Sha256: ebe40f190129708637e9eb686d6fab3b931db4324691c6106e543b54220397ed

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

module TD::Types
  # A link to a chat.
  #
  # @attr title [String] Chat title.
  # @attr photo [TD::Types::ChatPhoto, nil] Chat photo; may be null.
  # @attr username [String] Chat username, by which all other information about the chat should be resolved.
  class PageBlock::ChatLink < PageBlock
    attribute :title, TD::Types::String
    attribute :photo, TD::Types::ChatPhoto.optional.default(nil)
    attribute :username, TD::Types::String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/page_block/chat_link.rb
tdlib-ruby-2.1.0 lib/tdlib/types/page_block/chat_link.rb
tdlib-ruby-2.0.0 lib/tdlib/types/page_block/chat_link.rb