MadelineProtoDocs/docs/bot_login.md

24 lines
415 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: bot_login
description: bot_login parameters, return type and example
---
## Method: bot_login
### Parameters:
| Name | Type |
|----------|---------------|
|token| A string with the bot token|
### Return type: [auth.Authorization](API_docs/types/auth_Authorization.md)
### Example:
```
$MadelineProto = new \danog\MadelineProto\API();
$authorization = $this->bot_login($token);
```