Sha256: 61827bf4391161f5cdf93c1bb9c96f2da8737b41b7154c280b691aec934ac4cc

Contents?: true

Size: 969 Bytes

Versions: 1

Compression:

Stored size: 969 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultMpeg4Gif < Base
        attribute :type, Types::String.constrained(eql: 'mpeg4_gif').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 :thumbnail_url, Types::String
        attribute? :thumbnail_mime_type, Types::String.default('image/jpeg')
        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

1 entries across 1 versions & 1 rubygems

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