onChatJoinRequest

inline fun Bot.onChatJoinRequest(sequence: SubscribeSequence = NORMAL, crossinline processor: suspend (Event, chatJoinRequest: ChatJoinRequest) -> Unit)

Register processor for ChatJoinRequest named CHAT_JOIN_REQUEST_NAME

Equivalent to the following:

// process or preProcess
bot.subscribe<ChatJoinRequest>(sequence, CHAT_JOIN_REQUEST_NAME) { event, chatJoinRequest ->
// ...
}

See also