Sha256: f710b8fc1d5f88def5d19725981a3cb295f001c196933ac2bc310eec9fb8f97c

Contents?: true

Size: 795 Bytes

Versions: 3

Compression:

Stored size: 795 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Sticker < Base
        attribute :file_id, Types::String
        attribute :file_unique_id, Types::String
        attribute :type, Types::String
        attribute :width, Types::Integer
        attribute :height, Types::Integer
        attribute :is_animated, Types::Bool
        attribute :is_video, Types::Bool
        attribute? :thumbnail, PhotoSize
        attribute? :emoji, Types::String
        attribute? :set_name, Types::String
        attribute? :premium_animation, File
        attribute? :mask_position, MaskPosition
        attribute? :custom_emoji_id, Types::String
        attribute? :needs_repainting, Types::True
        attribute? :file_size, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/sticker.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/sticker.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/sticker.rb