Sha256: 3fa73d15044efd3d8224f85934b5a5b38b48d4dd0fe040902e4ec5e8445f416c

Contents?: true

Size: 551 Bytes

Versions: 3

Compression:

Stored size: 551 Bytes

Contents

module TD::Types
  # A message with a sticker.
  #
  # @attr sticker [TD::Types::Sticker, nil] Message content; may be null.
  # @attr emoji [TD::Types::String, nil] Emoji corresponding to the sticker; may be empty.
  # @attr is_pinned [Boolean] True, if the message is a pinned message with the specified content.
  class PushMessageContent::Sticker < PushMessageContent
    attribute :sticker, TD::Types::Sticker.optional.default(nil)
    attribute :emoji, TD::Types::String.optional.default(nil)
    attribute :is_pinned, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/push_message_content/sticker.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/push_message_content/sticker.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/push_message_content/sticker.rb