Commit Graph

300 Commits

Author SHA1 Message Date
levlam
052032ee8b Add field Chat.has_private_forwards. 2021-12-07 13:40:47 +03:00
levlam
9f8606b612 Add field Chat.has_protected_content. 2021-12-07 13:33:44 +03:00
levlam
5d118ebf6b Add field Message.has_protected_content. 2021-12-07 13:25:01 +03:00
levlam
824b23afc6 Add field Message.is_automatic_forward. 2021-12-07 12:56:22 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream 2021-11-05 14:52:04 +01:00
levlam
e2728cba7c Add approve/declineChatJoinRequest. 2021-11-04 14:08:17 +03:00
levlam
c9a2a62248 Add "chat_join_request" updates. 2021-11-04 13:35:43 +03:00
levlam
2fa32d7db7 Update TDLib to 1.7.9. 2021-11-04 13:02:05 +03:00
levlam
380e65d47e Limit number of concurrently sent messages to a chat. 2021-10-01 14:52:47 +03:00
Giuseppe Marino
97872f5b87
merge conflict 2021-09-22 11:46:33 +02:00
levlam
0034afbcba Update TDLib to 1.7.8. 2021-09-20 16:58:22 +03:00
David Guillen Fandos
de37889af1 Add API support to manage Telegram proxies.
This adds new endpoints: getProxies, addProxy, deleteProxy, enableProxy
and disableProxy.
The yaml doc file has been updated to hopefully correct information.
2021-07-05 00:58:09 +02:00
Giuseppe Marino
a1510e45bb
fix conflict 2021-06-28 13:41:22 +02:00
levlam
b8693ae500 Support new bot command methods. 2021-06-23 06:48:24 +03:00
levlam
08a92a2347 Use absolute file paths. 2021-06-22 21:26:41 +03:00
levlam
72d8f73dbe Don't allow to access member list in deactivated groups. 2021-05-10 19:44:12 +03:00
Giuseppe Marino
e6db5d0876
merge upstream 2021-05-06 12:35:09 +02:00
levlam
aa737b3dcf Support messageVoiceChatScheduled. 2021-04-08 17:49:53 +03:00
levlam
b71e66003e Support new invoice fields. 2021-04-08 17:42:21 +03:00
Giuseppe Marino
d6a99d8519
Fix conflict 2021-03-16 18:48:23 +01: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
418946b0e1 Add update 'chat_member'. 2021-02-26 03:02:26 +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
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
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
8b2926a92f Improve error message on wrong API ID specified. 2021-02-01 15:44:32 +03:00
levlam
d9c247e5ed Improve warning messages. 2021-01-15 16:54:14 +03:00
levlam
a1e7249750 Update copyright year. 2021-01-06 17:24:16 +03:00
Andrea Cavalli
cda2030584 Implement message_thread_id 2021-01-06 11:16:32 +01:00
Jannik
954bc416c3
User only methods (#25)
Co-authored-by: code1mountain <none>
Co-authored-by: luckydonald <mac2019.git@luckydonald.de>
2021-01-02 12:32:34 +01:00
Giuseppe Marino
a02597bfb0
Added getMemoryStats query 2020-12-13 15:23:41 +01:00
Jannik
100a7cc846
Allow Users to use the bot api (#19)
Co-authored-by: Jannik <none>
2020-12-12 00:45:36 +01:00
levlam
8cc6d61d39 Add the field InlineQuery.chat_type, which can be sent by the server in the distant future. 2020-12-08 03:57:25 +03:00
Andrea Cavalli
8f0f343203 Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
Conflicts:
	td
	telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01:00
levlam
79134758a8 Use "time" for monotonic time variables. 2020-11-21 17:38:11 +03: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
Jannik
e247007199 Added ping command 2020-11-18 07:04:03 -08:00
Jannik
1b6bb14ff6
Added is_verified and is_scam 2020-11-18 15:12:32 +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
Andrea Cavalli
01c4a80ceb Implement optimize_memory correctly 2020-11-08 17:30:06 +01:00
Andrea Cavalli
73d3d8b9d6 Merge commit 'cbd974f850e4ed76346f8a4087b3370f8b96ae05'
Conflicts:
	td
2020-11-08 13:45:34 +01: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
f4e3987860 Add optimize_memory command 2020-11-05 13:12:05 +01:00
levlam
74559bab15 Telegram Bot APi server initial commit. 2020-11-03 19:34:10 +03:00