Sha256: 537bbd6a8d166694d13111d8ddd145ea9199e2ec4e3176061ca8a4512d1c3cf8
Contents?: true
Size: 928 Bytes
Versions: 2
Compression:
Stored size: 928 Bytes
Contents
module TD::Types # Contains information about a related article. # # @attr url [TD::Types::String] Related article URL. # @attr title [TD::Types::String, nil] Article title; may be empty. # @attr description [TD::Types::String, nil] Article description; may be empty. # @attr photo [TD::Types::Photo, nil] Article photo; may be null. # @attr author [TD::Types::String, nil] Article author; may be empty. # @attr publish_date [Integer] Point in time (Unix timestamp) when the article was published; 0 if unknown. class PageBlockRelatedArticle < Base attribute :url, TD::Types::String attribute :title, TD::Types::String.optional.default(nil) attribute :description, TD::Types::String.optional.default(nil) attribute :photo, TD::Types::Photo.optional.default(nil) attribute :author, TD::Types::String.optional.default(nil) attribute :publish_date, TD::Types::Coercible::Integer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/page_block_related_article.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/page_block_related_article.rb |