mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
small fix in request chat button
This commit is contained in:
parent
e235280253
commit
12ac227d2d
@ -33,6 +33,6 @@ data class KeyboardButtonRequestChat(
|
||||
@SerialName(botAdministratorRightsField)
|
||||
val botRightsInChat: ChatAdministratorRights? = null,
|
||||
@SerialName(botIsMemberField)
|
||||
val botIsMember: Boolean = false
|
||||
val botIsMember: Boolean? = null
|
||||
)
|
||||
|
||||
|
@ -235,7 +235,7 @@ inline fun ReplyKeyboardRowBuilder.requestChatButton(
|
||||
ownedBy: Boolean? = null,
|
||||
userRightsInChat: ChatAdministratorRights? = null,
|
||||
botRightsInChat: ChatAdministratorRights? = null,
|
||||
botIsMember: Boolean = false
|
||||
botIsMember: Boolean? = null
|
||||
) = requestChatButton(
|
||||
text,
|
||||
KeyboardButtonRequestChat(
|
||||
|
Loading…
Reference in New Issue
Block a user