Function changeCloudPassword
- changeCloudPassword(client, params): Promise<void>
Parameters
- client: ITelegramClient
- params: {
currentPassword: string;
hint?: string;
newPassword: string;
}currentPassword: string
Optional
hint?: string
newPassword: string
Returns Promise<void>
Change your 2FA password