Sha256: cbde5a9bc0a58471f25ba36e2e564c19db35242cd7041aeaa3cd628c10b9eda9

Contents?: true

Size: 741 Bytes

Versions: 3

Compression:

Stored size: 741 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? :thumb, 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? :file_size, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/sticker.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/sticker.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/sticker.rb