Layer 231
method
auth.firebasePnvSignUp#783f6b56 flags:# no_joined_notifications:flags.0?true first_name:string last_name:string = auth.Authorization;

Parameters

Name Type Description
NoJoinedNotifications flags.0?true If set, contacts will not be notified that the user joined Telegram
FirstName string First name of the new user
LastName string Last name of the new user

Gogram Example

auth, err := client.AuthFirebasePnvSignUp(false, "Alice", "Smith")
if err != nil {
	log.Fatal(err)
}
if a, ok := auth.(*tg.AuthAuthorizationObj); ok {
	fmt.Printf("account created: %T\n", a.User)
}