mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-29 07:03:37 +00:00
Add Bot API 10.1 Join Request Queries support
Adds: - ChatJoinRequestQueryId value class and ChatJoinRequest.queryId field - ExtendedBot.supportsJoinRequestQueries (User.supports_join_request_queries) - ExtendedChat.guardBot (ChatFullInfo.guard_bot), parsed for public chats - AnswerChatJoinRequestQuery request + ChatJoinRequestQueryResult enum - SendChatJoinRequestWebApp request - answerChatJoinRequestQuery / sendChatJoinRequestWebApp TelegramBot extensions Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
628e877064
commit
f6d5b3ea71
13 files changed
+407
-43
No files matched your search
+5
@@ -1,9 +1,14 @@
|
||||
package dev.inmo.tgbotapi.extensions.utils.extensions.raw
|
||||
|
||||
import dev.inmo.tgbotapi.types.ChatInviteLink
|
||||
import dev.inmo.tgbotapi.types.ChatJoinRequestQueryId
|
||||
import dev.inmo.tgbotapi.types.chat.ChatJoinRequest
|
||||
import dev.inmo.tgbotapi.utils.RiskFeature
|
||||
|
||||
@RiskFeature(RawFieldsUsageWarning)
|
||||
val ChatJoinRequest.invite_link: ChatInviteLink?
|
||||
get() = inviteLink
|
||||
|
||||
@RiskFeature(RawFieldsUsageWarning)
|
||||
val ChatJoinRequest.query_id: ChatJoinRequestQueryId?
|
||||
get() = queryId
|
||||
Reference in new issue
Block a user