Interface InitialMessagedInteractionResponse<I>

interface InitialMessagedInteractionResponse<I> {
    interaction: I;
    message: null;
    type: "initial";
    deleteMessage(): Promise<void>;
    getMessage(): Promise<Message<ResponseInteractionChannelType<I>>>;
    hasMessage(): this is FollowupMessageInteractionResponse<I>;
}

Type Parameters

Hierarchy (view full)

Properties

interaction: I
message: null
type: "initial"

Methods