mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-01 09:23:06 +00:00
renames in request buttons
This commit is contained in:
1 parent
12ac227d2d
commit
aca076381b
3 files changed
+22
-11
No files matched your search
+10
-3
@@ -231,14 +231,21 @@ inline fun ReplyKeyboardRowBuilder.requestChatButton(
|
||||
requestId: RequestId,
|
||||
isChannel: Boolean? = null,
|
||||
isForum: Boolean? = null,
|
||||
withUsername: Boolean? = null,
|
||||
ownedBy: Boolean? = null,
|
||||
isPublic: Boolean? = null,
|
||||
isOwnedBy: Boolean? = null,
|
||||
userRightsInChat: ChatAdministratorRights? = null,
|
||||
botRightsInChat: ChatAdministratorRights? = null,
|
||||
botIsMember: Boolean? = null
|
||||
) = requestChatButton(
|
||||
text,
|
||||
KeyboardButtonRequestChat(
|
||||
requestId, isChannel, isForum, withUsername, ownedBy, userRightsInChat, botRightsInChat, botIsMember
|
||||
requestId = requestId,
|
||||
isChannel = isChannel,
|
||||
isForum = isForum,
|
||||
isPublic = isPublic,
|
||||
isOwnedBy = isOwnedBy,
|
||||
userRightsInChat = userRightsInChat,
|
||||
botRightsInChat = botRightsInChat,
|
||||
botIsMember = botIsMember
|
||||
)
|
||||
)
|
||||
Reference in new issue
Block a user