RequestEventData

sealed class RequestEventData

Types

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

Functions

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

Properties

eventId
Link copied to clipboard
abstract val eventId: Long

Inheritors

NewFriendRequest
Link copied to clipboard
BotInvitedJoinGroupRequest
Link copied to clipboard
MemberJoinRequest
Link copied to clipboard