mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2026-10-25 13:37:06 +00:00
reverted elvis fold
This commit is contained in:
1 file changed
+3
-1
@@ -504,7 +504,9 @@ suspend fun main(args: Array<String>) {
|
|||||||
|
|
||||||
strictlyOn<UserRetrievingStep.RetrievingChatInfoDoneState> { state ->
|
strictlyOn<UserRetrievingStep.RetrievingChatInfoDoneState> { state ->
|
||||||
val chatMember = getChatMember(state.channelId, state.userId).administratorChatMemberOrNull()
|
val chatMember = getChatMember(state.channelId, state.userId).administratorChatMemberOrNull()
|
||||||
?: return@strictlyOn null
|
if (chatMember == null) {
|
||||||
|
return@strictlyOn null
|
||||||
|
}
|
||||||
send(
|
send(
|
||||||
state.context,
|
state.context,
|
||||||
replyMarkup = buildAdminRightsKeyboard(
|
replyMarkup = buildAdminRightsKeyboard(
|
||||||
|
|||||||
Reference in new issue
Block a user