1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-09 01:43:47 +00:00
Commit Graph

1228 Commits

Author SHA1 Message Date
d61aa8b50e getting updates refactoring 2020-03-17 20:24:31 +06:00
e7027047cb abstracts for difference between sent and edited messages updates 2020-03-17 19:46:42 +06:00
944d15f326 new startGettingUpdates method 2020-03-17 17:20:42 +06:00
ba2c4cbb30 UpdatesFilter now is interface 2020-03-17 17:16:14 +06:00
244a1e5175 replacement of UpdatesPolling help functions 2020-03-17 16:59:28 +06:00
9c9a938d94 started 0.24.1 2020-03-17 16:47:59 +06:00
b22d8a5a25 ForwardFromChannelInfo#channelChat now is ChannelChat 2020-02-25 13:45:32 +06:00
54e3c43999 Most part of sending media messages functions was removed and replaced with their InputFile args analogs 2020-02-23 21:29:31 +06:00
f8a312acb3 removing of deprecations 2020-02-23 20:23:33 +06:00
edad64c6e3 actualize changelog 2020-02-15 16:56:15 +06:00
8c06322586 now LiveLocation is deprecated in TelegramBotAPI and placed into TelegramBotAPI-extensions-api 2020-02-15 16:19:12 +06:00
c32ab031dd fill changelog 2020-02-15 15:37:15 +06:00
a8d7104145 extract RequestsExecutor extensions 2020-02-15 15:33:04 +06:00
0c107bc512 replace TelegramBotAPI to the separated subproject 2020-02-15 00:50:35 +06:00
a17ae07e50 InputMedia#media fix (version 0.23.2) 2020-02-14 12:06:54 +06:00
4b908f9975 Now it is possible to send broadcast channels size for FlowsUpdatesFilter 2020-02-09 15:15:36 +06:00
8fd6a09763 toInputFile specifying return types 2020-02-07 22:12:18 +06:00
aa333d7c58 fill CHANGELOG and update README 2020-02-07 11:00:21 +06:00
c2c7ac0d1e InvoiceOfPayment is renamed to InvoiceContent 2020-02-07 10:47:35 +06:00
04e4407b96 fill changelog about new actions 2020-02-07 10:36:31 +06:00
a846d0031c updates in sendInvoice and its extensions 2020-02-07 00:15:28 +06:00
4ca8125637 add send location extensions and LiveLocation 2020-02-06 22:32:20 +06:00
90d5833021 CommonMultipartFileRequest now is internal 2020-02-06 13:29:14 +06:00
ab6688bbaa additional KtorUpdatesPoller method 2020-02-06 12:08:31 +06:00
f2701b920f start 0.23.1 2020-02-01 14:14:45 +06:00
0c11be7fe4 rewrite work with Bot class 2020-01-23 22:32:45 +06:00
b9ab7f2955 AnonymousPollOption renamed to SimplePollOption 2020-01-23 20:11:24 +06:00
46573512a2 fix in javaLocale extension 2020-01-23 19:14:33 +06:00
a8ae0a296a separated User object and additional fields for Bot representation 2020-01-23 19:08:02 +06:00
8687a2ba6b "KeyboardButton" now is sealed class 2020-01-23 18:06:22 +06:00
dbd9c72249 UpdatesFilter now support PollAnswerUpdate 2020-01-23 17:32:04 +06:00
7aef76f432 PollAnswerUpdate 2020-01-23 17:29:09 +06:00
aece0784ab fixes in PollContent#createResend, added Poll#createRequest 2020-01-23 17:25:57 +06:00
4e1dbb8741 PollAnswer 2020-01-23 17:17:24 +06:00
41db785696 "language" field im RawMessageEntity 2020-01-23 17:07:28 +06:00
4e39f77b53 SendRegularPoll, SendQuizPoll 2020-01-23 17:01:13 +06:00
423efafa04 extend polls 2020-01-23 16:36:25 +06:00
229334e781 start 0.23.0 2020-01-23 16:00:46 +06:00
ca24416934 UpdatesFilter#unknownUpdateTypeCallback 2020-01-23 04:21:45 +06:00
f4fe680cac UnknownCallbackQueryType 2020-01-23 03:59:59 +06:00
a967b06d2e remove redundant line from changelog 2020-01-23 03:48:33 +06:00
83e5d40443 UnknownUpdate -> UnknownUpdateType, unknown types for messages and chats 2020-01-23 03:47:43 +06:00
961fa65415 UnknownUpdate 2020-01-23 03:31:56 +06:00
4182d66f6e cashtag entity type was added 2020-01-23 03:05:28 +06:00
971589fe99 start 0.22.2 2020-01-23 03:03:38 +06:00
5f593439a3 remove file link maker 2020-01-20 22:38:45 +06:00
92224b95df PreviewFeature, message links 2020-01-20 16:35:36 +06:00
63e0f5c054 0.22.1 2020-01-20 14:42:38 +06:00
f80bb18ca5 ResendableContent change fill in changelog 2020-01-15 13:30:28 +06:00
40eaffb8e3 EditChatMessage change fill in changelog 2020-01-15 13:27:29 +06:00
0c9f9f59c1 update changelog 0.22.0 type of title 2020-01-15 13:12:35 +06:00
12496f8261 make all serializers are internal 2020-01-15 13:03:42 +06:00
3fe7bd1382 AbleToBe -> Possibly and ForwardedMessage -> ForwardInfo 2020-01-15 12:52:52 +06:00
e3117f3679 migrate 0.21.1 -> 0.22.0 2020-01-15 12:31:17 +06:00
562459f0b7 update ktor 2020-01-15 12:28:06 +06:00
e98e61747c update README 2020-01-15 11:49:55 +06:00
e1082c3741 update README 2020-01-15 11:48:44 +06:00
e43d7350ed started 0.21.1 2020-01-08 12:11:57 +06:00
0899a69762 update versions 2020-01-05 20:45:50 +06:00
33d8dcf977 update CHANGELOG 2020-01-05 20:30:42 +06:00
bb3ebb455e update CHANGELOG 2020-01-05 19:58:29 +06:00
398adf06ff Actualized work with pre type of text - now it is possible to use language for formatting of text 2020-01-03 00:27:24 +06:00
dbef69ffac fixed problem that usually string formatting did not trigger escaping of control characters 2020-01-03 00:04:49 +06:00
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
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
8b93922f82 starts 0.21.0 2020-01-01 21:28:00 +06:00
43b08e9319 Now setWebhook supports custom listen address even if certificate was not provided 2020-01-01 14:43:32 +06:00
ef7e94ba68 now setWebhook supports setting up of path for listening 2020-01-01 14:07:17 +06:00
27aba72a5a started 0.20.4 2020-01-01 14:06:03 +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
5249fb517f 0.20.2 - MessageIsNotModifierException 2019-12-13 23:34:58 +06:00
fdf45d7566 a little fix in changelog 2019-12-11 17:05:48 +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
761e08afc6 start 0.20.1 2019-12-11 09:45:31 +06:00
f3fc0769ef migration 2019-12-03 11:07:25 +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
cb64f44ceb start 0.19.0 2019-12-02 13:52:22 +06:00
7bc06eae31 update incorrect info about ktor version 2019-11-29 12:26:31 +06:00
128e69e3e3 adapt code to new versions 2019-11-29 12:25:22 +06:00
6c5fc8144b update libraries 2019-11-29 12:19:24 +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
2530b85400 update changelog 2019-08-17 22:55:41 +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
41c5ba7309 RawChatMember is internal 2019-08-17 22:26:02 +06:00
617bccaa81 RawUpdate is internal 2019-08-17 22:08:36 +06:00
c7a8bc5c9d update description 2019-08-17 11:53:19 +06:00
56f36523db "RawMessage" usages replaced by "Message" usages 2019-08-17 11:50:46 +06:00
8330aa1b3d start 0.18.0 2019-08-17 11:32:39 +06:00
a7e533d94e update ktor 2019-08-12 18:03:38 +06:00
7f7e82bbb0 bot command entity command extracting fix 2019-08-12 17:25:51 +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
76bbe2a064 start 0.17.0 2019-07-23 07:24:14 +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
04ddb6c7b8 start 0.16.1 2019-06-28 18:31:08 +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
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
f50d2c3355 start 0.16.0 2019-06-01 17:12:57 +08:00
03b0033ced CIO adding remark in changelog 2019-05-28 19:14:32 +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
d70f8ee1ad start 0.15.0 2019-05-25 14:14:44 +08:00
84a086e7e4 0.14.2 2019-05-16 14:58:19 +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
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
62c4223648 started 0.14.1 2019-05-10 11:16:31 +08:00
cfb988ec7f forwarded messages changes 2019-04-30 15:56:28 +08:00
eb4c31a2a1 coroutines 1.2.1 2019-04-28 09:09:31 +08:00
eb22bc5a34 update Kotlin version 2019-04-26 14:10:16 +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
6d8190e5aa commonly of webhooks and other requests-related code 2019-04-20 12:56:48 +08:00
8b92a678fa start 0.14.0 2019-04-20 12:56:41 +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
c95c0a0ae0 start 0.13.0 2019-04-16 17:28:42 +08:00
6106b2293e fill changelog 2019-04-15 19:31:54 +08:00
723868a4f0 hotfix start 2019-04-15 17:06:40 +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
ddd7425033 update libraries 2019-04-13 09:26:48 +08:00
a55c2d8a56 start 0.12.6 2019-04-13 09:23:55 +08:00
2ff27e458d update title of version 2019-04-05 13:11:17 +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
4ff13e0fc9 start 0.12.5 2019-04-04 11:04:22 +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
7d1871d8dc media group optimizations 2019-03-23 14:31:28 +08:00
d9e1643823 start 0.12.4 2019-03-23 14:26:22 +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
ed341c231d media group messages refactoring 2019-03-21 08:45:51 +08:00
e303a43d36 complete ImplicitReflectionSerializer removing 2019-03-20 08:55:46 +08:00
eabb094ea5 fill CHANGELOG 2019-03-20 08:53:37 +08:00
f2e1742634 start 0.12.3 2019-03-20 08:52:36 +08:00
2bb4129901 update CHANGELOG 2019-03-15 08:16:01 +08:00
2c33c87663 start 0.12.2 2019-03-15 07:24:10 +08:00
a4d9fdcd4b Media Groups fixes 2019-03-14 15:44:19 +08:00
336e76450f UpdatesPoller, asReference, mediaGroupId for list and separate executes and update polling extensions 2019-03-06 10:09:45 +08:00
7b78dbdb3e improvement of exceptions 2019-03-06 08:10:29 +08:00
f4b7bb42d6 add plain answer to default exception 2019-03-04 10:34:28 +08:00
f3ba288ad8 WebhookInfo 2019-02-27 14:01:04 +08:00
f4e58375f2 add MediaGroupUpdate 2019-02-27 11:03:59 +08:00
1520271777 add main webhooks functionality for using with reverse proxy 2019-02-26 16:01:26 +08:00
ff2b56b3a9 add SetWebhook 2019-02-26 09:45:56 +08:00
de039c3909 start 0.12.0 2019-02-26 09:15:52 +08:00
069d9c29a2 update version of gradle and libs 2019-02-21 12:10:21 +08:00
c9bf84d36a start 0.11.0 2019-02-21 12:07:05 +08:00
a1b2aed78c hotfix for username 2019-02-18 14:35:58 +08:00
aaa0f8f114 Optional replyMarkup in InlineQueryResultArticle 2019-02-18 12:59:09 +08:00
f6581ff3be replace all usernames which was as strings by Username class usage 2019-02-18 12:56:59 +08:00
45ba325f1b fixes in Username 2019-02-17 21:12:56 +08:00
063a43922c start 0.10.2 2019-02-17 21:10:42 +08:00
3cd1f3c3d4 fix parseMode of InputTextMessageContent 2019-02-17 18:55:24 +08:00
d610a16cbd
Update CHANGELOG.md 2019-02-17 16:39:04 +08:00
1d1ac9040c MediaGroupList extensions 2019-02-17 14:40:43 +08:00
e774f958af MediaGroupMessage is CommonMessage 2019-02-17 14:30:18 +08:00
03e7ca532d startGettingUpdates with better media groups callbacks 2019-02-15 09:54:18 +08:00
4003fdbcd1 executeUnsafe to loop 2019-02-14 16:45:25 +08:00
90c3cd1b23 start 0.10.1 2019-02-14 16:39:55 +08:00
1dc80f6929 replace of exceptions 2019-02-10 13:41:20 +08:00
983e5edf7b inline messages edit result fixes 2019-02-07 20:19:25 +08:00
8aed45ae9e fix changelog 2019-02-07 14:29:38 +08:00
0f9533e54a InputMessageContent filling 2019-02-07 14:28:24 +08:00
75c2f71d70 start 0.10.0 2019-02-07 14:21:46 +08:00
8ab5bf6b2c fix in CHANGELOG 2019-02-05 12:58:38 +08:00
58f73fac97 RetryAfterError handling in KtorRequestsExecutor 2019-02-05 12:55:46 +08:00
c4f0ed4b48 Response#parameters fixing 2019-02-05 12:51:52 +08:00
206b3fd3e4 ResponseParameters renaming to Response 2019-02-05 12:40:29 +08:00
6f04baea4e KtorRequestsExecutor custom json formatter 2019-02-05 12:30:09 +08:00
b0f7563191 start 0.9.3 2019-02-05 12:27:33 +08:00
66be2681c0 RequestsExecutor.executeUnsafe(...) retries 2019-01-31 09:57:49 +08:00
05e0ec704e RequestsExecutor.executeAsync(...): Deferred 2019-01-31 09:53:58 +08:00
adb819b0dc start 0.9.2 2019-01-31 09:52:43 +08:00
d79d163750 ResendableContent#createResends 2019-01-29 10:22:09 +08:00
4c0472a139 new "createMarkdownText" 2019-01-29 10:13:59 +08:00
81029db165 RegularTextMessageEntity and convertToFullMessageEntityList 2019-01-29 09:47:37 +08:00
2af4ebcd44 apply length restrictions to all textable send requests 2019-01-29 08:20:04 +08:00
eab147a38f update texts lengths restrictions 2019-01-29 08:18:07 +08:00
f80fb33402 start 0.9.1 2019-01-29 08:14:52 +08:00
b933b878fb reformat CHANGELOG.md 2019-01-26 13:28:54 +08:00
bdaecf6f40
Rename CHANGELOG to CHANGELOG.md 2019-01-26 13:25:45 +08:00