auth.importWebTokenAuthorization

Login by importing an authorization token

 메서드 스키마는 레이어 147부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
api_id int API ID
api_hash string API hash
web_auth_token string The authorization token

Result

auth.Authorization

Only users can use this method

This method can be invoked over an unauthenticated connection »

Possible errors

Code Type Description
400 API_ID_INVALID API ID invalid.
400 WEBAUTH_TOKEN_EXPIRED The specified auth token has expired.

Related pages

Creating your Telegram Application

How to get your application identifier and create a new Telegram app.