Sha256: 57815cc7e1fa056d576c52169e22b926140e74316c24762fd12d771e2a2a9129
Contents?: true
Size: 523 Bytes
Versions: 2
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InputMediaPhoto < Base attribute :type, Types::String.constrained(eql: 'photo').default('photo') attribute :media, 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? :has_spoiler, Types::Bool 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/input_media_photo.rb |
telegram-bot-ruby-2.1.0 | lib/telegram/bot/types/input_media_photo.rb |