Commit Graph

291 Commits

Author SHA1 Message Date
levlam
fcfb194c54 Use "from" instead of "actor" for consistency with most other updates. 2021-03-09 13:24:17 +03:00
levlam
871cbcfeec Update TDLib and improve field names. 2021-03-05 23:48:13 +03:00
levlam
e128906890 Don't log "Request aborted" errors. 2021-03-03 19:32:08 +03:00
levlam
b510a323f2 Update TDLib. 2021-03-03 19:31:58 +03:00
levlam
e6eda8c31d Add Client::get_input_entities function. 2021-02-27 22:32:50 +03:00
levlam
778c155b5c Add update "my_chat_member". 2021-02-27 03:40:58 +03:00
levlam
93158f05a7 Add Internal Server Error logging. 2021-02-26 03:50:42 +03:00
levlam
418946b0e1 Add update 'chat_member'. 2021-02-26 03:02:26 +03:00
levlam
8323701b27 Add can_manage_chat administrator privilege. 2021-02-25 22:40:54 +03:00
levlam
6ab61f2fed Add revokeChatInviteLink method. 2021-02-25 22:32:23 +03:00
levlam
c8bc4c9d3a Add editChatInviteLink method. 2021-02-25 22:25:33 +03:00
levlam
1db5521027 Add fast path in check_message. 2021-02-25 22:11:11 +03:00
levlam
90d29edcce Add Chat.message_auto_delete_time field. 2021-02-25 22:00:17 +03:00
levlam
685e6bf87d Update TDLib to 1.7.2. Add createChatInviteLink method. 2021-02-25 21:29:30 +03:00
SMAZNet
ebedcc056b
Fix file_path doesnt exists on getFile method (#55)
* Fix file_path doesnt exists on getFile method

This PR fixes file_path doesnt exists on getFile method when localmode enabled and filesize is bigger than limit

* added check parameters_->no_file_limit_
2021-02-19 22:05:30 +01:00
levlam
ae56eee88f Avoid some string copies. 2021-02-18 22:41:59 +03:00
levlam
2ab19c5948 Support revoke_messages for groups in kickChatMember. 2021-02-17 20:43:55 +03:00
levlam
e605063da6 Update TDLib. 2021-02-17 17:23:58 +03:00
levlam
4bb09ffd63 Add message_auto_delete_time_changed service message. 2021-02-17 15:45:24 +03:00
levlam
35aa4d30a4 Add related to voice chat service messages. 2021-02-17 14:45:22 +03:00
levlam
a01c36ec1f Allow to change memory log verbosity level. 2021-02-15 01:23:18 +03:00
levlam
f781aab119 Add webhook response time to log. 2021-02-03 17:32:43 +03:00
levlam
8b2926a92f Improve error message on wrong API ID specified. 2021-02-01 15:44:32 +03:00
levlam
08ba28539f Return error 500 if sent message was immediately deleted and can't be returned. 2021-01-27 00:57:51 +03:00
Luckydonald
de05b42272
Stats: json format (#22)
The work regarding #17.

With 374928c we could merge a working version where the json is still missing a few fields, to iterate from there.

It is available via the normal stats endpoint by calling /json as the path.
Everything else will have the old text style.
2021-01-24 18:09:53 +01:00
andrew-ld
9df6dd5fd3
Merge pull request #43 from luckydonald/patch-1
Fix camelCase of userLogin in the docs.
2021-01-23 13:56:45 +01:00
andrew-ld
637e86e5a3
Merge pull request #49 from luckydonald-forks/fixes
Various fixes/improvements for the user mode
2021-01-23 11:56:12 +01:00
giuseppeM99
cb51c3efde
Fix healtcheck fail when TELEGRAM_STAT is not set (#50)
* Fix healtcheck fail when TELEGRAM_STAT is not set

* Update dockerfile
2021-01-23 11:54:26 +01:00
luckydonald
a497ebc544 Added back the 'method not found' part.
As this will also be the error message if you do /bot1231:23123/fooBarXYZ, this should still keep the 'method not found' part.
2021-01-21 15:16:58 +01:00
luckydonald
7e86d31953 Allow at least the camelcase version, too.
Addresses tdlight-team/tdlight-telegram-bot-api#43.
2021-01-18 00:18:32 +01:00
luckydonald
a6463a9010 Improved error message if the authentication is not yet completed. 2021-01-18 00:18:32 +01:00
luckydonald
011b573a8e Fix leaking the user's phone in the id field of the stats.
Improves tdlight-team/tdlight-telegram-bot-api#48 a bit.
2021-01-18 00:18:32 +01:00
levlam
d9c247e5ed Improve warning messages. 2021-01-15 16:54:14 +03:00
levlam
fcdb824f86 Remove pending_update_count_ field. 2021-01-15 16:40:20 +03:00
levlam
789d5bb610 Remove unused field and improve pending_update_count_ field name. 2021-01-15 15:41:55 +03:00
levlam
baa16f5e87 Improve HTTP error code for requests with unacceptable bot token. 2021-01-15 15:33:57 +03:00
df831c5907
Fix documentation link in README (#46) 2021-01-12 23:24:40 +01:00
Jannik
46af675246
Use own build Instructions Generator (#45)
* Use own build Instructions Generator

* Allow to manually trigger a Documentation update

Co-authored-by: code1mountain <none>
2021-01-12 23:16:10 +01:00
Luckydonald
b58a56b481
Fix camelCase of userLogin. 2021-01-06 23:34:13 +01:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
Andrea Cavalli
cd79fa2f05 Update documentation about thread id 2021-01-06 12:07:21 +01:00
Andrea Cavalli
ddf2b7196f Add missing message_thread_id_ 2021-01-06 12:01:23 +01:00
Andrea Cavalli
cda2030584 Implement message_thread_id 2021-01-06 11:16:32 +01:00
andrew-ld
aa82ba8cca
add documentation link 2021-01-05 21:13:56 +01:00
Andrea Cavalli
abcce9d33f
Merge pull request #28 from code1mountain/docs
Add Swagger Docs on Github pages
2021-01-05 20:52:49 +01:00
Jannik
632ff25255
Update docs-gh-pages.yml 2021-01-05 12:35:51 +01:00
Jannik
1efe42107f
Only run if the documentation file changed 2021-01-05 12:35:31 +01:00
Jannik
b741c719fa
Work on correct branch 2021-01-05 11:24:47 +01:00
Jannik
5dd2279af2
Update validate-swagger.yml 2021-01-05 11:17:54 +01:00
Jannik
3cf5b0c8bf
Add newline 2021-01-05 11:13:03 +01:00