mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-17 13:53:53 +00:00
reverted elvis fold
This commit is contained in:
parent
7842ac0dac
commit
529f4156fd
@ -504,7 +504,9 @@ suspend fun main(args: Array<String>) {
|
||||
|
||||
strictlyOn<UserRetrievingStep.RetrievingChatInfoDoneState> { state ->
|
||||
val chatMember = getChatMember(state.channelId, state.userId).administratorChatMemberOrNull()
|
||||
?: return@strictlyOn null
|
||||
if (chatMember == null) {
|
||||
return@strictlyOn null
|
||||
}
|
||||
send(
|
||||
state.context,
|
||||
replyMarkup = buildAdminRightsKeyboard(
|
||||
|
Loading…
Reference in New Issue
Block a user