Skip to content

Commit

Permalink
update: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHkrg committed Jan 7, 2025
1 parent 9ec577f commit 87a4273
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Laraquest
Sending requests and receiving Telegram updates.
- Bot API Version `8.2`

## Other Versions
- [Laraquest GoLang](https://github.com/laraXgram/Laraquest-Go)
- Laraquest Python
- Laraquest JavaScript
- Laraquest Rust
- Laraquest C#

## Installation:
```bash
Expand All @@ -7,15 +16,14 @@ composer require laraxgram/laraquest
---
## Config:
```php
$_ENV["update_type"] = 'sync';
$_ENV["BOT_TOKEN"] = "123456798:asdfghjklzxcvbnmqwpoieuryt";
$_ENV["BOT_API_SERVER"] = "https://api.telegram.org/";
$_ENV["BOT_TOKEN"] = "123456798:asdfghjklzxcvbnmqwpoieuryt"; // required
$_ENV["BOT_API_SERVER"] = "https://api.telegram.org/"; // optional

// Polling
$_ENV["sleep_interval"] = 0.5;
$_ENV["timeout"] = 100;
$_ENV["limit"] = 100;
$_ENV["allow_updates"] = ["*"];
$_ENV["sleep_interval"] = 0.5; // optional
$_ENV["timeout"] = 100; // optional
$_ENV["limit"] = 100; // optional
$_ENV["allow_updates"] = ["*"]; // optional
```
---
## Usage:
Expand Down

0 comments on commit 87a4273

Please sign in to comment.