haskell-tdlib-2.1.31.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.WithdrawGrams

Synopsis

Documentation

data WithdrawGrams Source #

Withdraws all available TON Grams of the current user directly to the TON wallet of the current user, which is created automatically if the user has no wallet yet. The user must have a valid temporary password; see createTemporaryPassword. If the wallet is being created, then the request fails with the error WALLET_CREATING and must be repeated later. The withdrawal is completed only after the transaction is confirmed on the TON blockchain. Returns Ok

Constructors

WithdrawGrams