Sha256: 30c6bfe8a86244e6a08bb40f80632c68bf18f152b314a525fbb1b523cb183950

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class WebhookInfo < Base
        attribute :url, Types::String
        attribute :has_custom_certificate, Types::Bool
        attribute :pending_update_count, Types::Integer
        attribute? :ip_address, Types::String
        attribute? :last_error_date, Types::Integer
        attribute? :last_error_message, Types::String
        attribute? :last_synchronization_error_date, Types::Integer
        attribute? :max_connections, Types::Integer
        attribute? :allowed_updates, Types::Array.of(Types::String)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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