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)
|
@SerialName(botAdministratorRightsField)
|
||||||
val botRightsInChat: ChatAdministratorRights? = null,
|
val botRightsInChat: ChatAdministratorRights? = null,
|
||||||
@SerialName(botIsMemberField)
|
@SerialName(botIsMemberField)
|
||||||
val botIsMember: Boolean = false
|
val botIsMember: Boolean? = null
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ inline fun ReplyKeyboardRowBuilder.requestChatButton(
|
|||||||
ownedBy: Boolean? = null,
|
ownedBy: Boolean? = null,
|
||||||
userRightsInChat: ChatAdministratorRights? = null,
|
userRightsInChat: ChatAdministratorRights? = null,
|
||||||
botRightsInChat: ChatAdministratorRights? = null,
|
botRightsInChat: ChatAdministratorRights? = null,
|
||||||
botIsMember: Boolean = false
|
botIsMember: Boolean? = null
|
||||||
) = requestChatButton(
|
) = requestChatButton(
|
||||||
text,
|
text,
|
||||||
KeyboardButtonRequestChat(
|
KeyboardButtonRequestChat(
|
||||||
|
Loading…
Reference in New Issue
Block a user