Commit Graph

93 Commits

Author SHA1 Message Date
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
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
Andrea Cavalli
bf60b37eda Merge commit '9692d581953d553b9bf2055d9bb89f960fd07739' 2020-11-10 16:35:27 +01:00
Andrea Cavalli
25e10ef243 Add http-ip-address and http-stat-ip-address options 2020-11-10 16:34:21 +01:00
giuseppeM99
8f33a9f1c8 Revert "remove cross compilation"
This reverts commit 416728d60a.
2020-11-10 16:26:06 +01:00
giuseppeM99
e6828cdf7a
Update README.md 2020-11-10 16:23:40 +01:00
Giuseppe Marino
a5a0c49467
Custom methods
* Added custom methods
  - getMessageInfo
  - getParticipants
  - deleteMessages
  - toggleGroupInvite

* Implemented method getMessageInfo
* added `views` field and `forwards` field to message
* getChat now resolves the username also for users

* Added custom executable flags
  - relative : use relative path for files in local mode
  - insecure (not implemented) : allow http connection in non-local mode
2020-11-10 16:14:44 +01:00
giuseppeM99
416728d60a
remove cross compilation
* remove cross compilation
2020-11-10 13:19:07 +01:00
levlam
9692d58195 Run cron strictly each second. 2020-11-10 02:27:18 +03:00