TDLib v0.0.2 TDLib.Method.CreateTemporaryPassword View Source

Creates a new temporary password for processing payments. Returns object_ptr.

NameTypeDescription
passwordstringPersistent user password.
valid_fornumberTime during which the temporary password will be valid, in seconds; should be between 60 and 86400.

More details on telegram’s documentation.