Interface Ctx

interface Ctx {
    message: Message;
    resource: {
        id: string;
        send: ((message: string) => void);
    };
    type(): Promise<null | GroupType>;
}

Properties

Methods

Properties

message: Message
resource: {
    id: string;
    send: ((message: string) => void);
}

Methods

  • Returns Promise<null | GroupType>