Sha256: 7c6da93e219a26ed6d21a11d3135aa9df133b82a088635326d24ceae3a336834

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultCachedSticker < Base
        attribute :type, Types::String.constrained(eql: 'sticker').default('sticker')
        attribute :id, Types::String
        attribute :sticker_file_id, Types::String
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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