# frozen_string_literal: true module Telegram module Bot module Types class WebhookInfo < Base attribute :url, String attribute :has_custom_certificate, Boolean attribute :pending_update_count, Integer attribute :last_error_date, Integer attribute :last_error_message, String attribute :max_connections, Integer attribute :allowed_updates, [String] end end end end