whenBannedChatMember

inline fun <T> ChatMember.whenBannedChatMember(block: (BannedChatMember) -> T): T?