SetBotUpdatesStatus class final
SetBotUpdatesStatus (setBotUpdatesStatus) - TDLib function
Informs the server about the number of pending bot updates if they haven't been processed for a long time; for bots only.
- pendingUpdateCount: The number of pending updates.
- errorMessage: The last error message.
Ok is returned on completion.
- Inheritance
-
- Object
- TdFunction
- SetBotUpdatesStatus
Constructors
- SetBotUpdatesStatus({required int pendingUpdateCount, required String errorMessage})
-
SetBotUpdatesStatus (setBotUpdatesStatus) - TDLib function
const
Properties
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- errorMessage → String
-
The last error message
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pendingUpdateCount → int
-
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 - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type