WebhookInfo class
Contains information about the current status of a webhook.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false)
Constructors
Properties
-
allowedUpdates
↔ List<
String> ? -
Optional. A list of update types the bot is subscribed to.
Defaults to all update types
getter/setter pair
- hasCustomCertificate ↔ bool?
-
True, if a custom certificate was provided for webhook certificate checks.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastErrorDate ↔ DateTime?
-
Optional. Unix time for the most recent error that
happened when trying to deliver an update via webhook.
getter/setter pair
- lastErrorMessage ↔ String?
-
Optional. Error message in human-readable format for the most recent error
that happened when trying to deliver an update via webhook.
getter/setter pair
- maxConnections ↔ int?
-
Optional. Maximum allowed number of simultaneous HTTPS connections to the
webhook for update delivery.
getter/setter pair
- pendingUpdateCount ↔ int?
-
Number of updates awaiting delivery
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url ↔ String?
-
Webhook URL, may be empty if webhook is not set up.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited