Sha256: 7f7d28428341aff089df71e7c5d7f2bfabc0a4f2bf487a022e2bc2f53ed4a7b1

Contents?: true

Size: 618 Bytes

Versions: 3

Compression:

Stored size: 618 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(String)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/webhook_info.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/webhook_info.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/webhook_info.rb