mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
update ChatMemberUpdated#gotRestrictionsChanged
This commit is contained in:
parent
89360235a6
commit
b03eef8bcb
@ -67,7 +67,7 @@ val ChatMemberUpdated.gotRestricted: Boolean get() = !oldChatMemberState.isRestr
|
|||||||
/**
|
/**
|
||||||
* Member restrictions were changed (but not removed)
|
* Member restrictions were changed (but not removed)
|
||||||
*/
|
*/
|
||||||
val ChatMemberUpdated.gotRestrictionsChanged: Boolean get() = newChatMemberState.isRestricted
|
val ChatMemberUpdated.gotRestrictionsChanged: Boolean get() = oldChatMemberState.isRestricted && newChatMemberState.isRestricted
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All member restrictions were removed
|
* All member restrictions were removed
|
||||||
|
Loading…
Reference in New Issue
Block a user