RequestEventData

sealed class RequestEventData

Types

Link copied to clipboard
class BotInvitedJoinGroupRequest @MiraiExperimentalApi constructor(    val eventId: Long,     val invitor: Long,     val invitorNick: String,     val groupId: Long,     val groupName: String) : RequestEventData
Link copied to clipboard
object Factory
Link copied to clipboard
class MemberJoinRequest @MiraiExperimentalApi constructor(    val eventId: Long,     val requester: Long,     val requesterNick: String,     val groupId: Long,     val groupName: String,     val invitor: Long = 0,     val message: String) : RequestEventData
Link copied to clipboard
class NewFriendRequest @MiraiExperimentalApi constructor(    val eventId: Long,     val requester: Long,     val requesterNick: String,     val fromGroupId: Long,     val message: String) : RequestEventData

Functions

Link copied to clipboard
abstract suspend fun accept(bot: Bot)
Link copied to clipboard
abstract suspend fun reject(bot: Bot)

Properties

Link copied to clipboard
abstract val eventId: Long

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard