GetStarWithdrawalUrl class final

GetStarWithdrawalUrl (getStarWithdrawalUrl) - TDLib function

Returns a URL for Telegram Star withdrawal.

  • ownerId: Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.
  • starCount: The number of Telegram Stars to withdraw. Must be at least getOption("star_withdrawal_count_min").
  • password: The 2-step verification password of the current user.

HttpUrl is returned on completion.

Inheritance

Constructors

GetStarWithdrawalUrl({required MessageSender ownerId, required int starCount, required String password})
GetStarWithdrawalUrl (getStarWithdrawalUrl) - TDLib function
const

Properties

currentObjectId String
TDLib object type for current class instance
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
ownerId MessageSender
Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat
final
password String
The 2-step verification password of the current user
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starCount int
The number of Telegram Stars to withdraw. Must be at least getOption("star_withdrawal_count_min")
final

Methods

copyWith({MessageSender? ownerId, int? starCount, String? password}) GetStarWithdrawalUrl
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