Function changeCloudPassword
- changeCloudPassword(
client: ITelegramClient,
params: { currentPassword: string; hint?: string; newPassword: string },
): 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