SetBotUpdatesStatus class final

Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SetBotUpdatesStatus({required int pendingUpdateCount, required String errorMessage})

Properties

errorMessage → String
errorMessage The last error message
final
hashCode → int
The hash code for this object.
no setteroverride
pendingUpdateCount → int
pendingUpdateCount The number of pending updates
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? pendingUpdateCount, String? errorMessage}) → SetBotUpdatesStatus

Available on SetBotUpdatesStatus, provided by the SetBotUpdatesStatusExtensions extension

getConstructor() → String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String