Sha256: 1861e1311e114e6ed5a242b9a3c6ae9ed0e6ae342ed6a49f36a1bb594ffa0b08
Contents?: true
Size: 944 Bytes
Versions: 2
Compression:
Stored size: 944 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultGif < Base attribute :type, Types::String.constrained(eql: 'gif').default('gif') attribute :id, Types::String attribute :gif_url, Types::String attribute? :gif_width, Types::Integer attribute? :gif_height, Types::Integer attribute? :gif_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-2.2.0 | lib/telegram/bot/types/inline_query_result_gif.rb |
telegram-bot-ruby-2.1.0 | lib/telegram/bot/types/inline_query_result_gif.rb |