Commit Graph

634 Commits

Author SHA1 Message Date
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
9d4b7b5a50 add gifts bot 2026-02-24 14:00:26 +06:00
e1f5e40143 fix of build 2026-02-20 19:21:23 +06:00
186a0f7abf update telegram bot api version 2026-02-20 18:58:24 +06:00
e660f06edf add showing of user audios and update telegram bot api version onto temporal version 2026-02-18 22:24:32 +06:00
fb6ed8b7ae rename GetMe to My bot 2026-02-18 19:59:34 +06:00
9981e82a10 small improvement of keyboards bot 2026-02-17 12:45:22 +06:00
bef86042f9 add support of styling for buttons 2026-02-16 23:31:59 +06:00
d1791b3058 add drafts bot 2026-02-16 18:57:43 +06:00
0432611f85 improve test bots 2026-02-16 17:40:23 +06:00
6b27aa01fb fix of topics according to 9.3 2026-02-15 23:34:37 +06:00
523e428bcb update dependencies 2026-02-15 15:52:53 +06:00
0e8714cf2b Merge pull request #351 from InsanusMokrassar/29.0.0
29.0.0
2025-09-28 10:54:27 +06:00