levlam
897ddb64ce
Add User.is_premium.
2022-05-24 16:56:53 +03:00
levlam
7b20bdacdf
Allow to use attach protocol to upload webhook certificate.
2022-05-13 18:24:18 +03:00
levlam
0ac93c8674
Add join_to_send_messages and join_by_request flags to Chat.
2022-05-13 16:41:12 +03:00
levlam
06d40edb0a
Allow to specify a secret_token in setWebhook to ensure that webhook was set by the domain owner.
2022-05-13 16:39:32 +03:00
levlam
fd7489f6da
Add the field User.added_to_attachment_menu.
2022-05-11 19:46:07 +03:00
levlam
89f6bed3b8
Add createInvoiceLink.
2022-05-09 21:49:26 +03:00
levlam
2001518ec5
Update TDLib to 1.8.4.
2022-05-09 19:25:56 +03:00
levlam
8a0f1dd730
Update TDLib and version to 6.0.2.
2022-05-04 20:12:23 +03:00
Giuseppe Marino
be24b3caaf
fix user status empty
2022-05-03 12:19:57 +02:00
Giuseppe Marino
411f4b15c5
add user status
2022-05-02 22:08:22 +02:00
Giuseppe Marino
edcb8529e6
Merge version 6.0.1
2022-05-01 10:45:29 +02:00
levlam
0dfcb6153a
Update TDLib and version to 6.0.1.
2022-04-18 01:23:20 +03:00
levlam
31d947e971
Update version to 6.0.
2022-04-16 06:13:09 +03:00
levlam
7a2f3715f9
Add setChatMenuButton.
2022-04-08 04:12:22 +03:00
levlam
84199e5328
Add getChatMenuButton.
2022-04-08 03:07:52 +03:00
levlam
2989274f1f
Add getMyDefaultAdministratorRights.
2022-04-03 13:29:57 +03:00
levlam
ee9dcde37b
Add setMyDefaultAdministratorRights.
2022-04-03 09:33:40 +03:00
levlam
c278251d8f
Add web_app_data messages.
2022-03-28 17:15:39 +03:00
levlam
3252809448
Unify message content variable names.
2022-03-28 17:10:49 +03:00
levlam
defcb52571
Support WebApp buttons.
2022-03-25 01:00:48 +03:00
levlam
8bc5730532
Add answerWebAppQuery method.
2022-03-24 12:02:15 +03:00
levlam
58e6248874
Update TDLib to 1.8.3.
2022-03-24 11:49:55 +03:00
levlam
3c99f26824
Rename voice chats to video chats.
2022-03-22 17:25:59 +03:00
levlam
afaa577b1a
Add "last_synchronization_error_date" to getWebhookInfo.
2022-03-18 14:03:14 +03:00
levlam
b4f0ebbaab
Store full chatPhoto and compare it with chatPhotoInfo.
2022-03-16 14:49:38 +03:00
levlam
4925532c25
Use td::unique_ptr instead of std::unique_ptr.
2022-03-16 12:52:34 +03:00
levlam
3e9da68537
Use td::FlatHashTable instead of std::unordered_map/set.
2022-03-16 12:41:12 +03:00
levlam
d8166a558d
Update TDLib to 1.8.2.
2022-03-15 20:28:51 +03:00
Giuseppe Marino
f2e7e45fc0
Merge remote-tracking branch 'upstream/master' into merge-upstream
2022-02-01 18:28:35 +01:00
levlam
c57b04c4c8
Update version to 5.7.
2022-01-31 22:49:25 +03:00
levlam
1851ba7eb5
Update TDLib to 1.8.1.
2022-01-31 22:32:10 +03:00
levlam
208fd70d58
Minor improvements.
2022-01-25 18:18:44 +03:00
levlam
93ccd2a145
Update version to 5.6.1.
2022-01-01 12:45:09 +03:00
levlam
9be6413e5c
Improve logging.
2021-12-31 08:20:44 +03:00
levlam
b75e6b43cd
Update version to 5.6.
2021-12-30 21:09:17 +03:00
levlam
d95441a48d
Allow all updateUser updates before authorization.
2021-12-30 21:01:14 +03:00
levlam
01ff608cfa
Improve log message.
2021-12-30 17:18:30 +03:00
levlam
6b137be127
Add support for spoiler entities.
2021-12-30 14:44:21 +03:00
levlam
6ec2104b81
Add the ability to send messages with protected content.
2021-12-30 14:41:30 +03:00
levlam
8e637b482a
Update TDLib to 1.8.0.
2021-12-30 14:34:39 +03:00
levlam
6abdb73512
Remove legacy message LRU deletion.
2021-12-18 23:26:05 +03:00
levlam
561119367a
Update .clang-format.
2021-12-13 00:35:46 +03:00
Giuseppe Marino
fd714cdc04
Update TDLib
2021-12-10 00:48:18 +01:00
Giuseppe Marino
768793e88d
Merge remote-tracking branch 'upstream/master'
2021-12-09 23:57:03 +01:00
levlam
90f5247781
Update version to 5.5.1.
2021-12-09 19:06:22 +03:00
levlam
3980748099
Use channel_bot as sender of channel messages.
2021-12-09 18:48:39 +03:00
levlam
df89ddf059
Fix Message.is_automatic_forward flag for automatically forwarded manually forwarded messages.
2021-12-08 14:04:49 +03:00
giuseppeM99
9a1b509a78
Merge branch 'tdlib:master' into master
2021-12-07 15:53:17 +01:00
Harshil
04361155aa
fix spelling
2021-12-07 17:50:33 +03:00
Giuseppe Marino
6389996a5d
Merge upstream 5.5
2021-12-07 14:59:54 +01:00
levlam
b440ade235
Update version to 5.5.
2021-12-07 14:43:39 +03:00
levlam
541126ead5
Add banChatSenderChat/unbanChatSenderChat methods.
2021-12-07 14:03:40 +03:00
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
f7e38e273c
Update TDLib to 1.7.10.
2021-12-07 13:13:16 +03:00
levlam
824b23afc6
Add field Message.is_automatic_forward.
2021-12-07 12:56:22 +03:00
levlam
5491729a3c
Assign a thread_id for main thread.
2021-11-17 13:24:19 +03:00
Giuseppe Marino
9610addbec
Merge remote-tracking branch 'upstream/master'
2021-11-07 14:46:47 +01:00
levlam
e9587a0083
Update TDLib and version to 5.4.1.
2021-11-07 04:23:28 +03:00
Giuseppe Marino
188fa9d8b0
Merge remote-tracking branch 'upstream/master' into merge-upstream
2021-11-05 14:52:04 +01:00
levlam
a838756c9a
Update version to 5.4.
2021-11-04 15:51:16 +03: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
5130c52676
Add is_active to bot statistics.
2021-10-27 19:43:41 +03:00
levlam
6aa090a43a
Improve MultiPromiseActorSafe usage.
2021-10-26 14:28:09 +03:00
levlam
380e65d47e
Limit number of concurrently sent messages to a chat.
2021-10-01 14:52:47 +03:00
levlam
e715de9e1c
Count number of active clients with a given tqueue_id.
2021-09-30 23:23:41 +03:00
levlam
9380c2a3d1
Log all responses with code < 200.
2021-09-29 20:40:18 +03:00
levlam
997a7408c7
Update TDLib.
2021-09-29 20:34:21 +03:00
Giuseppe Marino
032f82b6ca
update tdlib
2021-09-22 15:35:11 +02:00
Giuseppe Marino
97872f5b87
merge conflict
2021-09-22 11:46:33 +02:00
levlam
36b0c4426a
Update version to 5.3.3.
2021-09-20 23:56:53 +03:00
levlam
0034afbcba
Update TDLib to 1.7.8.
2021-09-20 16:58:22 +03:00
levlam
87981c105d
Print stack trace to stderr after receiving signal RTMIN+2.
2021-09-12 13:51:22 +03:00
levlam
0e1862d26d
Update version to 5.3.2.
2021-09-08 17:22:40 +03:00
levlam
40ff6f637b
Update TDLib to 1.7.7.
2021-09-08 17:21:28 +03:00
levlam
937fa526b9
Remove unused field.
2021-09-06 16:51:45 +03:00
Giuseppe Marino
6bb6893e6f
getMessageInfo: added send_reply
parameter
...
if send_reply = true the message info will include the replied message
2021-09-04 15:29:00 +02:00
levlam
d598402a3c
Remove unneeded check for unavailable supergroup member count.
2021-08-13 19:36:11 +03:00
levlam
60acf1e402
Store separate size of query_list_.
2021-08-10 12:50:02 +03:00
Andrea Cavalli
4a4ef1b3ca
Update version to 5.3.1, Update tdlib to 1.7.6.
2021-08-05 11:29:14 +02:00
levlam
eafb9375d2
Allow to change tag verbosity level.
2021-08-02 23:57:11 +03:00
levlam
05b3d5fcb1
Update version to 5.3.1.
2021-07-27 01:55:06 +03:00
levlam
0df68c6235
Remove debug logging for slow internal queries.
2021-07-27 01:54:11 +03:00
levlam
def3e84f12
Fix check for self-destructing messages.
2021-07-22 18:15:31 +03:00
levlam
7fd2c2a22d
Replace error code 403 with 400 in server-side errors just in case.
2021-07-17 04:40:32 +03:00
David Guillen Fandos
74008ebce4
Fix proxy_id validation and add HTTP proxy support
2021-07-09 23:43:30 +02: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
David Guillen Fandos
aa118f7ae6
Add knob to control the file expiration timeout.
...
This allows tweaking the value (from the default 1h timeout) so that
loaded servers do not run out of disk by setting it to a smaller value.
2021-07-03 12:03:01 +02:00
SMAZNet
c0021e1d67
Update Client.cpp
2021-07-01 17:00:55 +04:30
SMAZNet
4df28c5676
Fix filter for getChatMembers
2021-07-01 16:31:51 +04:30
Giuseppe Marino
d7f30ca00e
Fix #64
2021-06-28 23:39:42 +02:00
Giuseppe Marino
3e79d99dfc
tdlight is no more
2021-06-28 13:50:13 +02:00
Giuseppe Marino
a1510e45bb
fix conflict
2021-06-28 13:41:22 +02:00
levlam
8a3d43daa9
Output TQueue load time to log.
2021-06-26 04:22:29 +03:00
levlam
81f298361c
Update version to 5.3.
2021-06-25 04:20:57 +03:00
levlam
b7af179809
Add logging on errors with non-positive error code.
2021-06-24 17:27:15 +03:00
levlam
b8693ae500
Support new bot command methods.
2021-06-23 06:48:24 +03:00
levlam
73b65fc99e
Support input field placehoder in ReplyMarkup.
2021-06-23 03:38:17 +03:00
levlam
878a1e16a8
Update TDLib.
2021-06-23 03:34:31 +03:00
levlam
badeb9a7f0
Automatically detect whether colon can be used in a directory name.
2021-06-23 02:03:22 +03:00
levlam
08a92a2347
Use absolute file paths.
2021-06-22 21:26:41 +03:00
levlam
ad55377cba
Allow to leave deactivated basic groups independently from supergroups.
2021-06-14 23:15:40 +03:00
levlam
ab8edb4de7
Log too old queries.
2021-06-14 22:58:23 +03:00
levlam
7de971ec20
Simplify Query creation and statistics.
2021-06-14 22:47:01 +03:00
levlam
54112379ff
Check write access to temporary directory.
2021-06-14 21:24:20 +03:00
levlam
061c34749a
Dump statistics additionally to log by signal.
2021-06-14 20:53:55 +03:00
levlam
084aa2a6f3
Ignore internal setWebhook queries in flood-control.
2021-06-14 04:11:15 +03:00
levlam
05bbc55569
Clamp default arg value just in case.
2021-06-14 04:07:37 +03:00
levlam
aa70087df4
Make bots online while logging in.
2021-06-14 03:45:44 +03:00
levlam
4eb391decd
Dump memory statistics with other state.
2021-06-04 18:20:08 +03:00
levlam
19f9e1eff0
Output uptime and current state on closing.
2021-06-04 17:43:04 +03:00
levlam
6a7b2fd8a4
Don't store invalid callback_data in messages.
2021-06-03 19:26:19 +03:00
levlam
7f9e9fd809
Update TDLib.
2021-05-20 23:51:37 +03:00
levlam
72d8f73dbe
Don't allow to access member list in deactivated groups.
2021-05-10 19:44:12 +03:00
levlam
f423f426a2
Improve handling of deleted group chats.
2021-05-10 19:02:49 +03:00
KnorpelSenf
bcd0c8eaa5
Add --version flag ( #132 )
2021-05-10 18:49:50 +03:00
Giuseppe Marino
e6db5d0876
merge upstream
2021-05-06 12:35:09 +02:00
levlam
90fed9b9a7
Update version to 5.2.
2021-04-13 19:33:50 +03:00
levlam
12a3240656
Add InputInvoiceMessageContent.
2021-04-08 18:38:05 +03:00
levlam
aa737b3dcf
Support messageVoiceChatScheduled.
2021-04-08 17:49:53 +03:00
levlam
efaf601e85
Don't store empty chat_type.
2021-04-08 17:44:55 +03:00
levlam
b71e66003e
Support new invoice fields.
2021-04-08 17:42:21 +03:00
levlam
39f96f93a9
Update TDLib to 1.7.4.
2021-04-08 17:17:05 +03:00
levlam
ef23b96c94
Improve log message.
2021-04-08 16:49:00 +03:00
Giuseppe Marino
56cd87b026
update submodule
2021-04-03 13:51:48 +02:00
Giuseppe Marino
d73fb848cd
Upstream merge: createNewSupergroupChat needs an extra bool for imported chats
2021-03-16 20:27:04 +01:00
Giuseppe Marino
33877f740d
Upstream merge: quick fix report chat now accepts a custom text for any reason
...
Will have to think about adding an additional parameter
2021-03-16 20:26:37 +01:00
Giuseppe Marino
ff7d232f42
Upstream merge: logout is invalid api id
2021-03-16 20:24:58 +01:00
Giuseppe Marino
d6a99d8519
Fix conflict
2021-03-16 18:48:23 +01:00
levlam
d97045bc06
Add version to ClientParameters and log it on launch.
2021-03-14 05:28:30 +03:00
levlam
72171e5751
Improve log messages in fail_query_with_error.
2021-03-14 05:24:32 +03:00
levlam
a133545d4b
Treat self as a member in deactivated basic groups.
2021-03-14 05:00:36 +03:00
levlam
202ddaffab
Update version to 5.1.
2021-03-09 13:30:42 +03:00
levlam
fcfb194c54
Use "from" instead of "actor" for consistency with most other updates.
2021-03-09 13:24:17 +03:00
levlam
871cbcfeec
Update TDLib and improve field names.
2021-03-05 23:48:13 +03:00
levlam
e128906890
Don't log "Request aborted" errors.
2021-03-03 19:32:08 +03: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
93158f05a7
Add Internal Server Error logging.
2021-02-26 03:50:42 +03:00
levlam
418946b0e1
Add update 'chat_member'.
2021-02-26 03:02:26 +03:00
levlam
8323701b27
Add can_manage_chat administrator privilege.
2021-02-25 22:40:54 +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
1db5521027
Add fast path in check_message.
2021-02-25 22:11:11 +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
SMAZNet
ebedcc056b
Fix file_path doesnt exists on getFile method ( #55 )
...
* Fix file_path doesnt exists on getFile method
This PR fixes file_path doesnt exists on getFile method when localmode enabled and filesize is bigger than limit
* added check parameters_->no_file_limit_
2021-02-19 22:05:30 +01:00
levlam
ae56eee88f
Avoid some string copies.
2021-02-18 22:41:59 +03:00
levlam
2ab19c5948
Support revoke_messages for groups in kickChatMember.
2021-02-17 20:43:55 +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
a01c36ec1f
Allow to change memory log verbosity level.
2021-02-15 01:23:18 +03:00
levlam
f781aab119
Add webhook response time to log.
2021-02-03 17:32:43 +03:00
levlam
8b2926a92f
Improve error message on wrong API ID specified.
2021-02-01 15:44:32 +03:00
levlam
08ba28539f
Return error 500 if sent message was immediately deleted and can't be returned.
2021-01-27 00:57:51 +03:00
Luckydonald
de05b42272
Stats: json format ( #22 )
...
The work regarding #17 .
With 374928c we could merge a working version where the json is still missing a few fields, to iterate from there.
It is available via the normal stats endpoint by calling /json as the path.
Everything else will have the old text style.
2021-01-24 18:09:53 +01:00
luckydonald
a497ebc544
Added back the 'method not found' part.
...
As this will also be the error message if you do /bot1231:23123/fooBarXYZ, this should still keep the 'method not found' part.
2021-01-21 15:16:58 +01:00
luckydonald
7e86d31953
Allow at least the camelcase version, too.
...
Addresses tdlight-team/tdlight-telegram-bot-api#43 .
2021-01-18 00:18:32 +01:00
luckydonald
a6463a9010
Improved error message if the authentication is not yet completed.
2021-01-18 00:18:32 +01:00
luckydonald
011b573a8e
Fix leaking the user's phone in the id field of the stats.
...
Improves tdlight-team/tdlight-telegram-bot-api#48 a bit.
2021-01-18 00:18:32 +01:00
levlam
d9c247e5ed
Improve warning messages.
2021-01-15 16:54:14 +03:00
levlam
fcdb824f86
Remove pending_update_count_ field.
2021-01-15 16:40:20 +03:00
levlam
789d5bb610
Remove unused field and improve pending_update_count_ field name.
2021-01-15 15:41:55 +03:00
levlam
baa16f5e87
Improve HTTP error code for requests with unacceptable bot token.
2021-01-15 15:33:57 +03:00
levlam
a1e7249750
Update copyright year.
2021-01-06 17:24:16 +03:00
Andrea Cavalli
ddf2b7196f
Add missing message_thread_id_
2021-01-06 12:01:23 +01: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
levlam
525b8ff2f9
Start webhook connection creation in inactive mode.
2021-01-01 16:27:36 +03:00
levlam
81b25986e1
Output fatal errors to both logs.
2020-12-30 21:50:52 +03:00
levlam
874474ddab
Improve verbosity level change.
2020-12-30 17:28:44 +03:00
Jannik
b99a45bbf8
Fix crash with service messages
2020-12-23 17:36:12 +01:00
Luckydonald
c08d466be0
Stats: hide sensible data ( #24 )
...
Adds the --stats-hide-sensible-data flag (Docker: $TELEGRAM_STAT_HIDE_SENSIBLE_DATA=1), removing the bot token and the webhook url from the stats endpoint.
2020-12-15 17:43:20 +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
levlam
e184e6c117
Update TDLib. Support can_manage_voice_chats administrator right.
2020-12-08 03:29:19 +03:00
Andrea Cavalli
8f0f343203
Merge commit 'e2ae8dad02a7c0046e162e12bc0c0c077fff5d14'
...
Conflicts:
td
telegram-bot-api/ClientParameters.h
2020-12-02 23:34:56 +01:00
levlam
e2ae8dad02
Update version to 5.0.1.
2020-11-28 21:10:53 +03:00
levlam
03a8573a03
Do not update ServerCpuStat too often.
2020-11-28 21:10:19 +03:00
levlam
67a477f471
Update TDLib.
2020-11-28 21:07:44 +03:00
levlam
81b2334a31
Fix media_group_id of messages automatically forwarded to discussion group.
2020-11-26 19:31:07 +03:00
levlam
72b3f6ea4d
Improve webhook updates delaying.
2020-11-26 19:12:19 +03:00
levlam
1f8116b21d
Improve log messages.
2020-11-26 18:09:18 +03:00
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
9212b8c4ee
Merge remote-tracking branch 'github-origin/master'
2020-11-23 17:29:13 +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
Jannik
d9b1d58b66
Receive Updates for Media with destruction timer
2020-11-19 17:18:49 +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
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
Jannik
e79d3b775e
Added is_verified and is_scam to User and Chat objects
2020-11-18 15:11:47 +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
25d1ee172b
add --max-batch-operations
parameter (default 10000)
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
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
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
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
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
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
5ca1c098bc
Remove useless check.
2020-11-08 18:14:22 +03: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
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
levlam
74559bab15
Telegram Bot APi server initial commit.
2020-11-03 19:34:10 +03:00