Sha256: 1b653321aab98186bdf9568e3a340fbc918dc48108992df723d781a79bbd5200

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InputTextMessageContent < Base
        attribute :message_text, Types::String.constrained(min_size: 1, max_size: 4096)
        attribute? :parse_mode, Types::String
        attribute? :entities, Types::Array.of(MessageEntity)
        attribute? :link_preview_options, LinkPreviewOptions
      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_text_message_content.rb