FirebasePnvSignUpRequest

Both users and bots may be able to use this request. See code examples.

---functions---
auth.firebasePnvSignUp#783f6b56 flags:# no_joined_notifications:flags.0?true first_name:string last_name:string = auth.Authorization

Returns

auth.Authorization

This type can be an instance of either:

AuthorizationAuthorizationSignUpRequired

Parameters

first_namestring
last_namestring
no_joined_notificationsflagThis argument defaults to None and can be omitted.

Known RPC errors

This request can't cause any RPC error as far as we know.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.auth.FirebasePnvSignUpRequest(
        first_name='some string here',
        last_name='some string here',
        no_joined_notifications=True
    ))
    print(result.stringify())