contacts.ImportContactToken

class pyrogram.raw.functions.contacts.ImportContactToken

Obtain user info from a temporary profile link.

Details:
  • Layer: 223

  • ID: 13005788

Parameters:

token (str) – The token extracted from the temporary profile link.

Returns:

User

TL Schema

contacts.importContactToken#13005788
token:string

= User

Parameter Tree

ImportContactToken
└── tokenstring

Example

await app.invoke(
    ImportContactToken(
        token="text",
    )
)