Sha256: c0fa80c93a9d53216253ed8425e4c08893592a9f059861b52fa6509341c9967f
Contents?: true
Size: 710 Bytes
Versions: 1
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InputMediaAnimation < Base attribute :type, Types::String.constrained(eql: 'animation').default('animation') attribute :media, Types::String attribute? :thumbnail, 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? :width, Types::Integer attribute? :height, Types::Integer attribute? :duration, Types::Integer attribute? :has_spoiler, Types::Bool 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/input_media_animation.rb |