POST TgBot/AuthByCode
Request Information
URI Parameters
None.
Body Parameters
TgBotAuthByCodeForm| Name | Description | Type | Additional information |
|---|---|---|---|
| code | string |
None. |
|
| authType | TgBotAuthType |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"authType": 0
}
Response Information
Resource Description
TgBotAuthUserView| Name | Description | Type | Additional information |
|---|---|---|---|
| info | string |
None. |
|
| token | string |
None. |
|
| authType | TgBotAuthType |
None. |
|
| culture | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.