Commit Graph

646 Commits

Author SHA1 Message Date
renovate[bot]
8873b4eb5b Update kotlin monorepo to v2.4.21 2026-10-09 09:14:10 +00:00
d0da6c851b Merge pull request #371 from InsanusMokrassar/37.0.0
37.0.0
2026-10-09 15:13:03 +06:00
030549fdb7 chore(keyboards): remove the preview feature opt-in 2026-10-08 20:19:06 +06:00
48b0e068d5 fix(examples): add bot selection and ephemeral photo captions
Limit channel-rights selection to private chats, preserve full chat
identifiers, offer bot selection, and use the replied-to sender ID.

Supply a caption when replacing ephemeral photo media so the next
caption edit starts from a captioned message.
2026-10-08 19:30:19 +06:00
c0c5805705 fix(ephemeral): preserve the callback button message 2026-10-08 14:45:53 +06:00
f6882913b8 fix(rich-messages): update date formats and handle draft stops
Use typed date-time formats and a downloadable sample document.
Wait five seconds between draft chunks so users can stop generation;
match stop events to the originating chat and acknowledge them there.
2026-10-08 14:25:47 +06:00
447de0c3ce update examples for ktgbotapi 37.0.0 2026-08-30 17:44:15 +06:00
3b7adc4033 Merge pull request #368 from InsanusMokrassar/36.0.0
36.0.0
2026-08-27 14:57:24 +06:00
ce48393895 update readmes 2026-08-21 15:51:06 +06:00
016400a821 improve communities bot 2026-08-21 12:08:33 +06:00
2dd20f51db improvements in rich messages bot 2026-08-17 23:48:59 +06:00
1d9c7a35eb tmp improvements 2026-08-17 00:17:31 +06:00
f09dc34002 fixes 2026-08-16 23:43:15 +06:00
22e2d38e25 fixes 2026-08-16 16:03:10 +06:00
40425f6451 Add Bot API 10.2 Bot Subscriptions support example
New BotSubscriptionsBot demonstrating the 36.0.0 subscription-updates API:
- onBotSubscriptionUpdated trigger reading user / invoicePayload / state
- exhaustive handling of the typed BotSubscriptionUpdated.State sealed type
  (Active / Canceled / Failed data objects + Unknown value-class fallback)
- botSubscriptionUpdatedUpdatesFlow raw update flow
- waitBotSubscriptionUpdated expectation

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 17:23:43 +06:00
56cc2e70c1 Add Bot API 10.2 Communities support example
New CommunitiesBot demonstrating the 36.0.0 communities API:
- onCommunityChatAdded / onCommunityChatRemoved triggers for the
  community_chat_added / community_chat_removed service events
- reading the Community (id/name) from CommunityChatAdded
- ExtendedChat.community (ChatFullInfo.community) via getChat
- waitCommunityChatAdded expectation

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 17:22:18 +06:00
868cf646bd Add Bot API 10.2 Ephemeral Messages support example
New EphemeralMessagesBot demonstrating the 36.0.0 ephemeral-message API:
- sendTextMessage with receiverUserId + callbackQueryId to send a message
  visible only to one user in a group, in response to a callback query
- PossiblyEphemeralMessage detection of ephemeral messages
- editEphemeralMessageText / deleteEphemeralMessage addressed by
  chatId + receiverUserId + ephemeralMessageId
- reply() smart-branch replying ephemerally to an ephemeral message, and the
  explicit replyToEphemeral form
- BotCommand.isEphemeral flag

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 17:21:03 +06:00
2f5fa711a7 Add Bot API 10.2 Rich Messages input blocks and media examples
Extend RichMessagesBot with the 36.0.0 rich-message input additions:
- rich_blocks: build a rich message from the typed InputRichBlocks DSL
  (InputRichMessageBlocks { }) instead of an HTML/Markdown string
- rich_blocks_draft: stream a draft-only thinking() blocks sequence via
  sendRichMessageDraft, then finalize with sendRichMessage
- onPhoto: embed a received photo into a rich message both via
  InputRichMessageMedia (tg://photo?id=) referenced from HTML and as a
  first-class photo() media block inside the blocks tree

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 17:17:18 +06:00
5a2ba634c6 Update telegram_bot_api_version to 36.0.0 2026-07-19 17:11:00 +06:00
b209be74aa Merge pull request #364 from InsanusMokrassar/35.0.0
35.0.0
2026-07-01 17:44:58 +06:00
9737371a7e add medialess variant of markdown text 2026-07-01 15:10:41 +06:00
b4dddeed74 improve examples 2026-06-30 15:57:34 +06:00
e70650d213 add two bots for testing of new functionality 2026-06-29 18:02:05 +06:00
52b6df8ac1 Merge pull request #362 from InsanusMokrassar/34.0.0
34.0.0
2026-06-14 11:41:12 +06:00
8a024a3676 Update telegram_bot_api_version to 34.0.0 2026-06-14 01:30:27 +06:00
913c992e9d managed bots improvements 2026-06-12 22:26:24 +06:00
42c087b906 checks of live photos 2026-06-11 00:51:54 +06:00
242c5fc4df small improvement in chat management bot 2026-06-10 23:39:57 +06:00
9318891d94 buildable new bots 2026-06-06 13:33:37 +06:00
95a619431c fix of guest bot sample 2026-05-30 15:34:18 +06:00
3b61976734 add guest bot 2026-05-23 00:00:36 +06:00
b7f50b514f update tgbotapi version 2026-05-20 18:06:50 +06:00
89e1eec53e Merge pull request #358 from InsanusMokrassar/33.0.0
33.0.0
2026-04-18 19:34:46 +06:00
00ab078891 build fix 2026-04-18 18:40:16 +06:00
bd71e642b2 upfill polls bot 2026-04-15 16:52:54 +06:00
514d9d68b8 add checks of save button and other fixes 2026-04-15 15:37:50 +06:00
9746a068b7 update ManagedBotsBot 2026-04-14 19:58:42 +06:00
9903e0e323 add more infos 2026-04-14 18:19:57 +06:00
8268cd9bf4 add showing of request managed bot 2026-04-14 18:12:25 +06:00
b4e2d52e7e add managedbotsbot sample 2026-04-14 16:31:26 +06:00
f829ce7281 Merge branch 'master' into 33.0.0 2026-04-13 16:03:22 +06:00
20b2ae8175 update dependencies 2026-04-13 16:01:06 +06:00
29ad52b506 Merge pull request #352 from InsanusMokrassar/renovate/telegram_bot_api_version
Update telegram_bot_api_version to v31.2.0
2026-03-05 00:04:38 +06:00
renovate[bot]
b848c6bfad Update telegram_bot_api_version to v31.2.0 2026-03-04 17:50:36 +00:00
6642b95af2 Merge pull request #357 from InsanusMokrassar/31.1.0
31.1.0
2026-03-03 13:31:56 +06:00
828ab43317 add opportunity to set/unset tags rights in tags bot 2026-03-02 19:21:48 +06:00
1a4533221c add showing of custom emoji in button 2026-03-02 18:55:05 +06:00
e304a5ecab add TagsBot 2026-03-02 18:02:35 +06:00
600ac8ebbf Merge pull request #356 from InsanusMokrassar/31.0.0
31.0.0
2026-03-02 16:58:51 +06:00
07403546f4 update telegram bot api version 2026-02-24 15:07:13 +06:00