WebhookInfo class

Contains information about the current status of a webhook.

https://core.telegram.org/bots/api#webhookinfo

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

WebhookInfo({required String url, required bool hasCustomCertificate, required int pendingUpdateCount, String? ipAddress, int? lastErrorDate, String? lastErrorMessage, int? lastSynchronizationErrorDate, int? maxConnections, List<String>? allowedUpdates})
WebhookInfo.fromJson(Map<String, dynamic> json)
factory

Properties

allowedUpdates List<String>?
getter/setter pair
hasCustomCertificate bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ipAddress String?
getter/setter pair
lastErrorDate int?
getter/setter pair
lastErrorDate_ DateTime?
getter/setter pair
lastErrorMessage String?
getter/setter pair
lastSynchronizationErrorDate int?
getter/setter pair
maxConnections int?
getter/setter pair
pendingUpdateCount int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
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