Commit Graph

150 Commits

Author SHA1 Message Date
andrew-ld
9b14e5c1b8
Merge pull request #10 from tdlight-team/issue#9
Allow check_message for non-member channels
2020-11-24 09:42:00 +01:00
Giuseppe Marino
55ee7aed4a
Skip check only if not supergroup 2020-11-24 09:22:16 +01:00
Giuseppe Marino
fda54d44dc
Fix build 2020-11-24 01:12:39 +01:00
Giuseppe Marino
b99c85a726
Allow check_message for non-member channels/SGs 2020-11-23 23:44:34 +01:00
Andrea Cavalli
537ccf2148 Update tdlib 2020-11-23 17:29:55 +01:00
Andrea Cavalli
9212b8c4ee Merge remote-tracking branch 'github-origin/master' 2020-11-23 17:29:13 +01:00
andrew-ld
20155346c2
Merge pull request #8 from code1mountain/self_destruct
Receive Updates for self destructing media
2020-11-23 11:34:27 +01:00
levlam
4d025b1c9b Safer handling of negative monotonic time. 2020-11-21 17:46:18 +03:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03:00
Kunoi Sayami
f419509029
Add missing log part (#30) 2020-11-20 18:11:23 +03:00
levlam
82ffc0b008 Update TDLib. 2020-11-20 18:09:21 +03:00
Jannik
af83c25b16
Receive Updates for Media with destruction timer 2020-11-19 17:21:19 +01:00
Jannik
d9b1d58b66
Receive Updates for Media with destruction timer 2020-11-19 17:18:49 +01:00
Jannik
394d0f1c44 Merge branch 'master' of https://github.com/code1mountain/tdlight-telegram-bot-api 2020-11-19 02:50:03 -08:00
Jannik
cc76a3d2cf Merge remote-tracking branch 'upstream/master' 2020-11-19 02:47:54 -08:00
Jannik
86f99faee3
Merge pull request #1 from tdlight-team/master
Update
2020-11-19 11:45:39 +01:00
giuseppeM99
e762e9e832
Merge pull request #5 from code1mountain/verified_scam
Added is_verified and is_scam
2020-11-18 17:04:39 +01:00
andrew-ld
48058d0a78
Merge pull request #6 from code1mountain/ping
Added Ping Command
2020-11-18 16:47:47 +01:00
Jannik
56875f3aa0
Update README.md 2020-11-18 16:13:04 +01:00
Jannik
f2daedea70
Update README.md 2020-11-18 16:10:55 +01:00
Jannik
e247007199 Added ping command 2020-11-18 07:04:03 -08:00
Jannik
80e70157e0
Update README.md 2020-11-18 15:20:51 +01:00
Jannik
1b6bb14ff6
Added is_verified and is_scam 2020-11-18 15:12:32 +01:00
Jannik
e79d3b775e
Added is_verified and is_scam to User and Chat objects 2020-11-18 15:11:47 +01:00
jannik (Password 1234)
9bda968ea4 Added is_verified and is_scam to user and chat objects 2020-11-18 06:05:25 -08:00
levlam
1ca90a925a Install pdb files. 2020-11-16 22:41:06 +03:00
Andrea Cavalli
a9897e44fd Update td 2020-11-15 18:16:27 +01:00
Andrea Cavalli
1763790625 Update td 2020-11-15 15:21:27 +01:00
Andrea Cavalli
8166c4c792 Update td 2020-11-14 23:36:28 +01:00
Andrea Cavalli
b76f643b54 Fix .tlo file generation 2020-11-14 23:01:01 +01:00
Andrea Cavalli
df9d4a14ca Fix levlam race condition 2020-11-14 11:14:04 +01:00
Andrea Cavalli
c91daecedf
Add official chats 2020-11-13 15:51:31 +01:00
andrew-ld
da4f559e53
Merge pull request #3 from MarcoBuster/disable-limits
New option: disable file limit regardless of --local
2020-11-13 13:49:15 +01:00
5b29503d9c
Add TELEGRAM_NO_FILE_LIMIT env variable 2020-11-12 23:45:30 +01:00
b3c0c403e8
Fix typos 2020-11-12 23:40:31 +01:00
8524f94883
Add --no-file-limit option
Co-Authored-By: giuseppeM99 <giuseppe.marino1999@gmail.com>
2020-11-12 23:15:49 +01:00
Giuseppe Marino
33d8af02c2
Update readme 2020-11-11 22:04:15 +01:00
Giuseppe Marino
25d1ee172b
add --max-batch-operations parameter (default 10000) 2020-11-11 20:09:21 +01:00
Giuseppe Marino
8f05c65bdc
fix healtcheck 2020-11-11 20:09:21 +01:00
Giuseppe Marino
fc0a6e10cc
td splits automatically 2020-11-11 20:09:21 +01:00
Giuseppe Marino
cb7dcb5c0b
Implemented deleteMessages method
parameters:
- chat_id the chat_id of the supergroup or channel
- start first message id to delete
- end last message id to delete
the method will always return `true` as a result, even if the messages 
cannot be deleted
this method does not work on private chat or normal groups
it is not suggested to delete more than 200 messages per call
2020-11-11 20:09:21 +01:00
Giuseppe Marino
0c5a139146
added is_deleted field in User type 2020-11-11 20:09:20 +01:00
Giuseppe Marino
079328dba5
Update entrypoint 2020-11-11 20:09:20 +01:00
Giuseppe Marino
00165a7ef5
Clang format 2020-11-11 20:09:20 +01:00
Giuseppe Marino
0624215988
Implemented getParticipants
- method `getParticipants` : `chat_id`, `type`
-- `type` is string, possible values are
    `members`, `parameters`, `admins`, `administators`, `restricted`, 
`banned`, `bots`
-- return type: array of `ChatMember`

- edits to the `ChatMember` type:
-- now the full bot list is returned
-- new `joined_date` field (type integer)
-- new `inviter` field (type User)
2020-11-11 20:09:20 +01:00
Giuseppe Marino
d3a038f35d
allow insecure connections (Cherry pick) 2020-11-11 20:09:17 +01:00
Giuseppe Marino
b942c2a58b
update td 2020-11-10 23:33:56 +01:00
Andrea Cavalli
05609ca2f2 Update README.md 2020-11-10 17:03:59 +01:00
Andrea Cavalli
2a25bc3ccb Improve documentation 2020-11-10 17:00:56 +01:00
Andrea Cavalli
185885c2d2 Add custom methods 2020-11-10 16:37:01 +01:00