last works ...

This commit is contained in:
2026-11-12 20:19:19 +03:30
parent abc9e05852
commit 45f2815247
48 changed files with 2833 additions and 196594 deletions
+127
View File
@@ -753,3 +753,130 @@ Response:
}
}
```
## Bot
### Me
```json
{
"id": 57317004,
"is_bot": true,
"username": "xsaherelmbot",
"first_name": "xBaleBot",
"has_topics_enabled": false,
"allows_users_to_create_topics": false
}
```
### Updates
```json
[
{
"update_id": 1,
"message": {
"message_id": 1,
"message_thread_id": 0,
"from": {
"id": 1917703782,
"is_bot": false,
"last_name": "",
"first_name": "kimia ",
"has_topics_enabled": false,
"allows_users_to_create_topics": false
},
"date": 1794469606,
"chat": {
"id": 1917703782,
"type": "private",
"first_name": "kimia "
},
"forward_from_message_id": 0,
"forward_date": 0,
"edit_date": 0,
"text": "/start",
"entities": [
{
"type": "bot_command",
"offset": 0,
"length": 6
}
]
}
},
{
"update_id": 2,
"message": {
"message_id": 2,
"message_thread_id": 0,
"from": {
"id": 442637838,
"is_bot": false,
"last_name": "",
"first_name": "بهاره زرگر",
"has_topics_enabled": false,
"allows_users_to_create_topics": false
},
"date": 1794484300,
"chat": {
"id": 442637838,
"type": "private",
"first_name": "بهاره زرگر"
},
"forward_from_message_id": 0,
"forward_date": 0,
"edit_date": 0,
"text": "/start",
"entities": [
{
"type": "bot_command",
"offset": 0,
"length": 6
}
]
}
}
]
```
### Message
Request:
```json
{
"chatId": 442637838,
"text": "SaherElm IT Center Invites You to xBotProvider ...",
"replyMarkup": null,
"messageThreadId": 0,
"replyToMessageId": 0
}
```
Response:
```json
{
"message_id": 4,
"message_thread_id": 0,
"from": {
"id": 57317004,
"is_bot": true,
"last_name": "",
"username": "xsaherelmbot",
"first_name": "",
"has_topics_enabled": false,
"allows_users_to_create_topics": false
},
"date": 1794495172,
"chat": {
"id": 442637838,
"type": "private"
},
"forward_from_message_id": 0,
"forward_date": 0,
"edit_date": 0,
"text": "SaherElm IT Center Invites You to xBotProvider ..."
}
```