ifBannedChatMember

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