Commit Graph

59 Commits

Author SHA1 Message Date
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
Andrea Cavalli
47a16462ba Update td 2020-11-06 12:03:07 +01:00
Andrea Cavalli
ece8aa969f Merge commit 'f5ab6870b25741cd4459fc46b4fe5861d993e499' 2020-11-06 11:50:26 +01:00
Andrea Cavalli
779eee2b86 Update .gitmodules 2020-11-06 11:47:13 +01:00
Andrea Cavalli
fe3d95fcac
Merge pull request #1 from tdlight-team/docker
Add dockerfile and github actions script
2020-11-06 11:42:03 +01:00
Giuseppe Marino
6eb664a608
github actions attempt 2020-11-06 01:42:25 +01:00
levlam
f5ab6870b2 Update TDLib. 2020-11-06 02:14:49 +03:00
levlam
8d93905760 Always use SplitSource on OpenBSD. 2020-11-05 23:38:57 +03:00
Andrea Cavalli
38ec055387 Merge commit '91db058809e6f14f6aa22d2f09e0a969676bf4e6' 2020-11-05 17:35:21 +01:00
levlam
91db058809 Add filter option argument checks. 2020-11-05 17:55:13 +03:00
demget
2dd7ef910f
Fix usage message typo (#8) 2020-11-05 17:47:21 +03:00
Andrea Cavalli
f4e3987860 Add optimize_memory command 2020-11-05 13:12:05 +01:00
Andrea Cavalli
e6424b5a09 Update td 2020-11-05 12:49:47 +01:00
Andrea Cavalli
d8879afbf2 Update td 2020-11-04 21:51:35 +01:00
Andrea Cavalli
1d3f3089f3 Merge commit '551103b8cda61ef548b1f7673208fbd1acee7fa4' 2020-11-04 21:37:58 +01:00
Andrea Cavalli
7861a5e443 Update td 2020-11-04 21:27:49 +01:00
Andrea Cavalli
1d6b3d53d6 Update td 2020-11-04 20:09:14 +01:00