MadelineProtoDocs/docs/bot_login.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

24 lines
418 B
Markdown

---
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:
```php
$MadelineProto = new \danog\MadelineProto\API();
$authorization = $this->bot_login($token);
```