Commit Graph

75 Commits

Author SHA1 Message Date
jannik (Password 1234)
9bda968ea4 Added is_verified and is_scam to user and chat objects 2020-11-18 06:05:25 -08: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
levlam
c7769ea299 Add http-ip-address and http-stat-ip-address options. 2020-11-10 02:15:40 +03:00
a6a830da21
Add DOCKERHUB_OWNER env variable to GitHub workflow 2020-11-09 16:53:08 +01:00
3e084c9f19
GitHub Actions multi-arch build and push workflow (#2)
* Update docker.yml

This reverts commit bb6708fc01.

Co-authored-by: Andrea Cavalli <andrea@cavallium.it>
Co-authored-by: giuseppeM99 <giuseppe.marino1999@gmail.com>
2020-11-09 16:17:37 +01:00
Andrea Cavalli
90a25cb67b Merge commit '027807468a08a592d519f766c57ad9408c7b7368' 2020-11-08 23:50:35 +01:00
levlam
027807468a Don't export CXXFLAGS in build instructions generator. 2020-11-08 21:08:13 +03:00
Andrea Cavalli
1f2e2707cb Merge commit 'eafc9d2caa38813caccdf2d93a0fb9f026358009' 2020-11-08 17:33:32 +01:00
Andrea Cavalli
01c4a80ceb Implement optimize_memory correctly 2020-11-08 17:30:06 +01:00
levlam
eafc9d2caa Add CentOS to build instructions generator. 2020-11-08 18:53:28 +03:00
levlam
5ca1c098bc Remove useless check. 2020-11-08 18:14:22 +03:00
Andrea Cavalli
4a27b53890 Update .gitmodules 2020-11-08 13:46:14 +01:00
Andrea Cavalli
73d3d8b9d6 Merge commit 'cbd974f850e4ed76346f8a4087b3370f8b96ae05'
Conflicts:
	td
2020-11-08 13:45:34 +01:00
Andrea Cavalli
d376aa22ec Update docker.yml, Dockerfile, and docker-entrypoint.sh 2020-11-08 13:40:45 +01:00
levlam
cbd974f850 Update TDLib. 2020-11-08 14:01:44 +03:00
levlam
fbb8b4ce37 Update TDLib. 2020-11-08 12:10:27 +03:00
levlam
94846848b7 Make Client.start_up private. 2020-11-07 19:34:21 +03:00
levlam
bdc8ef52e9 Fix possible CE. 2020-11-07 19:31:00 +03:00
Andrea Cavalli
4af4c5a73c Recursively checkout submodules 2020-11-06 12:24:36 +01:00
Andrea Cavalli
cc5895bf00 Update td 2020-11-06 12:18:37 +01:00