Sha256: b6837db3dda20fa6ba8f1ec44090a36c7e3f2ff3fcb94aaea8f960fb4ebd7bac
Contents?: true
Size: 868 Bytes
Versions: 2
Compression:
Stored size: 868 Bytes
Contents
module TD::Types # Contains information about a link to a message in a chat. # # @attr is_public [Boolean] True, if the link is a public link for a message in a chat. # @attr chat_id [Integer] If found, identifier of the chat to which the message belongs, 0 otherwise. # @attr message [TD::Types::Message, nil] If found, the linked message; may be null. # @attr for_album [Boolean] True, if the whole media album to which the message belongs is linked. # @attr for_comment [Boolean] True, if the message is linked as a channel post comment or from a message thread. class MessageLinkInfo < Base attribute :is_public, TD::Types::Bool attribute :chat_id, TD::Types::Coercible::Integer attribute :message, TD::Types::Message.optional.default(nil) attribute :for_album, TD::Types::Bool attribute :for_comment, TD::Types::Bool end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/message_link_info.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/message_link_info.rb |