1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +00:00
Commit Graph

344 Commits

Author SHA1 Message Date
f68edebd24 RawMessageEntity will not throw exception 2020-01-02 23:58:16 +06:00
482d924070 refactor and preparing to multilevel message entities 2020-01-02 23:55:26 +06:00
e7495468a2 added support of strikethrough and underline 2020-01-02 23:10:39 +06:00
bba37d8889 all TelegramMediaFile instances now have field fileUniqueId, which represents file_unique_id field from API 2020-01-01 22:26:19 +06:00
198e15a937 now ChatPhoto have two additional fields: smallFileUniqueId and bigFileUniqueId 2020-01-01 22:20:08 +06:00
5ee472305c add restrictions check in SetChatAdministratorCustomTitle 2020-01-01 21:56:53 +06:00
47428dd6f9 now any administrator object instance have nullable field 2020-01-01 21:51:11 +06:00
b4e4bed622 added the new request SetChatAdministratorCustomTitle to manage the custom titles of administrators promoted by the bot. 2020-01-01 21:45:39 +06:00
4dd2a8437c added the field slowModeDelay to the ExtendedSupergroupChat objects 2020-01-01 21:38:05 +06:00
43b08e9319 Now setWebhook supports custom listen address even if certificate was not provided 2020-01-01 14:43:32 +06:00
0066e814b3 a little reorder of arguments in setWebhook 2020-01-01 14:12:37 +06:00
ef7e94ba68 now setWebhook supports setting up of path for listening 2020-01-01 14:07:17 +06:00
680e960037 [0.20.3] hotfix in LeftChatMember parents 2019-12-16 23:24:40 +06:00
a68c31f9d1 0.20.2 - MessageToEditNotFoundException 2019-12-13 23:55:06 +06:00
ac915b79f7 fix of exceptions catching 2019-12-13 23:54:02 +06:00
1659f6f909 a little fix 2019-12-13 23:36:31 +06:00
5249fb517f 0.20.2 - MessageIsNotModifierException 2019-12-13 23:34:58 +06:00
6dd701d33c TextSource analogues of MessageEntities 2019-12-11 14:06:09 +06:00
6f1f5e640a add TextSource 2019-12-11 13:49:17 +06:00
dd0e3c04bc fix of TextMentionMessageEntity#asHtmlSource 2019-12-11 10:53:41 +06:00
a17af67f83 User as PrivateChat 2019-12-11 10:18:12 +06:00
a09af8870a optimize imports 2019-12-06 16:46:38 +06:00
0c1df47dbb add js target 2019-12-03 12:40:21 +06:00
5dbfeca18f fix way how multipart messages are sending 2019-12-03 12:15:15 +06:00
f3fc0769ef migration 2019-12-03 11:07:25 +06:00
24d11d2c2b replace joda-time dependency by soywiz klock 2019-12-03 09:47:53 +06:00
21544013d9 ChatSerializers formatter extracting 2019-12-02 14:51:53 +06:00
e296c2ee00 third part of deprecations removing 2019-12-02 14:48:23 +06:00
ed60dc49e7 second part of deprecations removing 2019-12-02 14:44:23 +06:00
c1b5b3ca19 first part of deprecations removing 2019-12-02 14:39:19 +06:00
24498479a8 total rework of requests serialization 2019-12-02 14:35:37 +06:00
f57bfb017f add BotAction test 2019-12-02 13:21:31 +06:00
8b36767435 added TelegramDate tests and fix in chat identifier functionality 2019-12-02 11:18:08 +06:00
91ab60d1f5 added tests for ParseMode 2019-12-02 11:05:15 +06:00
88208016d4 added ChatIdentifier tests 2019-12-02 10:56:59 +06:00
128e69e3e3 adapt code to new versions 2019-11-29 12:25:22 +06:00
73f5bf7e4b
Remove extraxtResult from KtorRequestsExecutor 2019-08-19 21:58:30 +06:00
c6638f3102 change type of exception inside of serialization of message 2019-08-19 16:12:19 +06:00
f86ae2b592 Request extracting result method removed 2019-08-19 16:06:12 +06:00
84eb2fac7c small refactoring of KtorRequestsExecutor 2019-08-19 16:03:01 +06:00
bf8096ece2 optimize imports 2019-08-18 12:59:11 +06:00
2ee5d78362 TelegramFile was removed 2019-08-18 12:58:17 +06:00
704457715d RawGame added 2019-08-18 12:31:33 +06:00
44751d94b3 add for Game its own serializer and hide usage of RawMessageEntity 2019-08-18 00:18:13 +06:00
49cbcea405 RawChosenInlineResult is internal 2019-08-17 22:51:51 +06:00
0312c57741 RawCallbackQuery is internal 2019-08-17 22:50:52 +06:00
e7af08142b RawInlineQuery is internal 2019-08-17 22:49:37 +06:00
3285b2812e RawMessageEntity is internal 2019-08-17 22:48:18 +06:00
402e1b12dc current raw tools are internal 2019-08-17 22:29:42 +06:00
41c5ba7309 RawChatMember is internal 2019-08-17 22:26:02 +06:00
617bccaa81 RawUpdate is internal 2019-08-17 22:08:36 +06:00
56f36523db "RawMessage" usages replaced by "Message" usages 2019-08-17 11:50:46 +06:00
7f7e82bbb0 bot command entity command extracting fix 2019-08-12 17:25:51 +06:00
647d1e79f7 ExtendedChat#chatPhoto now is nullable 2019-08-12 17:06:57 +06:00
9e469c7825 fixes in AbstractRequestCallFactory 2019-08-12 17:05:48 +06:00
7e61b77ffe optimize imports 2019-08-12 15:46:31 +06:00
1f62c8cf98 RawChat boilerplate was removed and replaced by serializers 2019-08-12 15:41:07 +06:00
d6bb14e342 total rework of chats 2019-08-12 15:15:22 +06:00
c47c82ac43 Group chats now have a description 2019-08-12 14:15:06 +06:00
8fbda09d24 chat members fields and restrict chat member request updates 2019-08-12 14:09:14 +06:00
6310dceacf allMembersAreAdmins was removed 2019-08-12 13:48:38 +06:00
394bec1805 chat permissions adding 2019-08-12 13:46:16 +06:00
cb94a3a389 Sticker and StickerSet now with isAnimated field 2019-08-12 13:25:55 +06:00
84ad751792 TelegramAPIUrlsKeeper 2019-07-25 16:25:18 +08:00
d8887bb7ff RequestsExecutor now is Closeable 2019-07-23 07:46:19 +08:00
4dba67979d update dependencies versions 2019-07-23 07:43:32 +08:00
26d001acce replace animation to be sure that it will be correctly invoked in case of document availability 2019-06-28 19:05:40 +08:00
0cfc7077c0 now AnimationContent have caption 2019-06-28 18:58:35 +08:00
1926a9141b Common Captioned 2019-06-28 18:45:18 +08:00
bdd1b9638a toChatId extensions adding 2019-06-02 22:59:24 +08:00
4e276846b4 String#asUsername -> String#toUsername 2019-06-02 22:57:52 +08:00
ae7365e9e9 optimize deserialization of InlineKeyboardButton's 2019-06-02 22:10:04 +08:00
5e8bf82358 InlineKeyboardButton as sealed class 2019-06-02 22:02:12 +08:00
85b3f86746 fix in switchInlineQueryCurrentChat 2019-06-01 17:31:48 +08:00
4570df330b reply_markup in messages 2019-06-01 17:30:29 +08:00
5bc3169578 LoginURL and LoginURLInlineKeyboardButton 2019-06-01 17:21:02 +08:00
cb351c53d1 actualize UpdatesPollint 2019-05-29 10:00:16 +08:00
6b701c754e update signature of KtoUpdatesPoller 2019-05-29 09:59:05 +08:00
de7af5f0e7 fixes in long-polling, adding of UpdatesPoller as abstraction and rename of old UpdatesPoller to HtorUpdatesPoller 2019-05-28 19:13:01 +08:00
3ea96fc61f update order of fields in RawUpdate 2019-05-16 15:13:13 +08:00
84a086e7e4 0.14.2 2019-05-16 14:58:19 +08:00
4b44c589ce optimize imports 2019-05-12 19:15:31 +08:00
d0e0158a5d fix for poll channels skipping in FlowsUpdatesFilter 2019-05-11 11:34:00 +08:00
495a063f61 StopPoll#replyMarkup 2019-05-10 19:17:47 +08:00
a5ca9c0ce7 additional callback for polls in UpdatesFilter 2019-05-10 13:14:50 +08:00
981e6f43d9 fix names of fields in FlowsUpdatesFilter 2019-05-10 12:12:37 +08:00
62d13f89c8 acutalize Webhooks imports 2019-05-10 12:03:40 +08:00
9ddecb99ee remove redundant methods from FlowsUpdatesFilter 2019-05-10 11:58:43 +08:00
ab2a3ea23f add "FlowsUpdatesFilter" 2019-05-10 11:54:57 +08:00
f8fbe824b9 replace "WebhookPrivateKeyConfig" 2019-05-10 11:30:26 +08:00
25dcd9bc52 Replace "UpdatesFilter" and "UpdatesPoller" into another package 2019-05-10 11:26:58 +08:00
cfb988ec7f forwarded messages changes 2019-04-30 15:56:28 +08:00
562bc0357d one more fix for forwarded messages 2019-04-30 12:53:56 +08:00
7977071d1a adapt raw message for forwarded messages 2019-04-30 12:41:52 +08:00
c12d08eda8 refactor of Ktor calls 2019-04-26 11:12:01 +08:00
711410c426 force UTF-8 usage for responses decoding 2019-04-26 10:34:32 +08:00
bed60720d3 InlineKeyboardMarkup using field as serial name for keyboard 2019-04-20 13:14:49 +08:00
b002f61b71 add serializer to InlineKeyboardButton and remove exact serializer for InlineKeyboardMarkup#keyboard 2019-04-20 13:09:47 +08:00
6d8190e5aa commonly of webhooks and other requests-related code 2019-04-20 12:56:48 +08:00
60d420f775 rename file of PollOption and remove redundant abstract folder in polls type 2019-04-17 10:23:08 +08:00
c450017764 change SendPoll to be serializable 2019-04-16 19:40:41 +08:00
6b045549f9 fix pollQuestionTextLength name 2019-04-16 19:23:29 +08:00
d2a2c7a02f optimize imports 2019-04-16 17:28:42 +08:00
ba368e9fa4 AnonymousForwardedMessage 2019-04-16 17:28:42 +08:00
2b831a803a is_member adding 2019-04-16 17:28:42 +08:00
8b67f16da3 all PublicChat implementations may have pinned message, chats abstractions refactoring 2019-04-16 17:28:42 +08:00
3bb1cb1552 StopPoll and deprecations of By*MessageId 2019-04-16 17:28:42 +08:00
d7bbb6dd85 add SendPoll 2019-04-16 17:28:42 +08:00
e2267c1cb4 add PollContent 2019-04-16 17:28:42 +08:00
457cadf265 add PollUpdate 2019-04-16 17:28:42 +08:00
b7d214d145 add Poll object 2019-04-16 17:28:42 +08:00
0af6e6ca15 PollOption added 2019-04-16 17:28:42 +08:00
1f8c27c756 hotfix for inputmedias 2019-04-15 19:30:09 +08:00
24fb3e2188 clear of webhook on UpdatePoller start 2019-04-13 16:06:58 +08:00
57bf40a4f9 DeleteWebhook request 2019-04-13 16:02:24 +08:00
03c90bb204 optimize imports 2019-04-13 10:21:19 +08:00
3c98f8fe4d warnings fixes 2019-04-13 10:20:29 +08:00
7d7fb4efbc one more optional remove commit 2019-04-13 10:16:40 +08:00
68712b49e2 fix of serialization issues 2019-04-13 10:15:25 +08:00
c40e857a23 remove optional 2019-04-13 09:38:25 +08:00
12686f79f6 remove redundant implementation of MessageContent by MediaGroupContent 2019-04-05 13:10:38 +08:00
5543b3979b optimize imports 2019-04-05 13:09:30 +08:00
4a1ece53b5 refactoring of "MediaContent" 2019-04-04 22:11:35 +08:00
ac39032f50 medagroupcontent is media content 2019-04-04 19:32:47 +08:00
e6e1995d81 optimize imports 2019-03-31 11:54:49 +08:00
d668da0e76 hotfix for command actual calling methods 2019-03-31 11:28:28 +08:00
c4a3e2cf3d MessageEntities are using string formatting extensions 2019-03-31 11:26:41 +08:00
769d0360f3 text formatting extensions 2019-03-31 11:11:32 +08:00
4ccfb93a94 Markdown and HTML typealiases 2019-03-31 10:20:14 +08:00
997f9ce411 message content resend by default using HTMLParseMode 2019-03-30 20:12:00 +08:00
4679dc118d add tools for work with html captions and texts 2019-03-27 09:43:36 +08:00
609a474874 MessageEntity#asHtmlSource 2019-03-27 09:35:37 +08:00
1bdcf3ae60 add CommonLimiter 2019-03-27 09:13:07 +08:00
ac5d3214b4 rewrite handleUpdates 2019-03-23 15:19:29 +08:00
7d1871d8dc media group optimizations 2019-03-23 14:31:28 +08:00
37c112f6ab media group messages order 2019-03-22 09:07:09 +08:00
7d7a6ccf80 MediaCollectionContent as MediaContent 2019-03-21 09:18:54 +08:00
da6caf1834 optimize imports 2019-03-21 08:46:26 +08:00
ed341c231d media group messages refactoring 2019-03-21 08:45:51 +08:00
15686f742a optimize imports 2019-03-20 09:05:02 +08:00
e303a43d36 complete ImplicitReflectionSerializer removing 2019-03-20 08:55:46 +08:00
03bacc59ef remove redundant ImplicitReflectionSerializer 2019-03-20 08:52:58 +08:00
c9e72920df optimize imports 2019-03-15 16:12:17 +08:00
1f0af84adc rewrite structure of media groups updates 2019-03-15 07:47:46 +08:00
9f5d985a71 fix for pushMediaGroupUpdate in UpdatesPoller 2019-03-14 17:26:50 +08:00
26c67b2f99 clear methodology of converting common updates to media group updates 2019-03-14 16:31:27 +08:00
a4d9fdcd4b Media Groups fixes 2019-03-14 15:44:19 +08:00
0cc03d757e RequestsExecutor#executeUnsafe use do-while 2019-03-12 10:50:06 +08:00
c167c556ae a little fixes 2019-03-12 08:20:40 +08:00
1afa870f6d now requests executor in updates poller is strong 2019-03-11 11:00:38 +08:00