Sha256: a73de1bbb8a7f52b618f8bdb2bdffda8217127d08588cac81a1f2a4218ac183b

Contents?: true

Size: 706 Bytes

Versions: 2

Compression:

Stored size: 706 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultCachedMpeg4Gif < Base
        attribute :type, Types::String.constrained(eql: 'mpeg4_gif').default('mpeg4_gif')
        attribute :id, Types::String
        attribute :mpeg4_file_id, Types::String
        attribute? :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :show_caption_above_media, Types::Bool
        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.2.0 lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/inline_query_result_cached_mpeg4_gif.rb