Sha256: 3455d4e3f52487cc5df451afdc86d31c74014106f525f24abff94637b0b5dd13

Contents?: true

Size: 540 Bytes

Versions: 3

Compression:

Stored size: 540 Bytes

Contents

module TD::Types
  # A message with a sticker.
  #
  # @attr sticker [TD::Types::Sticker, nil] Message content; may be null.
  # @attr emoji [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 & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/push_message_content/sticker.rb
tdlib-ruby-2.2.0 lib/tdlib/types/push_message_content/sticker.rb
tdlib-ruby-2.1.0 lib/tdlib/types/push_message_content/sticker.rb