Sha256: 58e667d4c9b77f760fac007b8182ceaa39a92f8b69c5196f03c16b4537a97c42

Contents?: true

Size: 851 Bytes

Versions: 3

Compression:

Stored size: 851 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultMpeg4Gif < Base
        attribute :type, Types::String.default('mpeg4_gif')
        attribute :id, Types::String
        attribute :mpeg4_url, Types::String
        attribute? :mpeg4_width, Types::Integer
        attribute? :mpeg4_height, Types::Integer
        attribute? :mpeg4_duration, Types::Integer
        attribute :thumb_url, Types::String
        attribute? :thumb_mime_type, Types::String
        attribute? :title, Types::String
        attribute? :caption, Types::String
        attribute? :parse_mode, Types::String
        attribute? :caption_entities, Types::Array.of(MessageEntity)
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
      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/inline_query_result_mpeg4_gif.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_mpeg4_gif.rb