Classcorev0.10.0
BaseReplySender
Tracks acknowledgement state and throws a translated SeedcordError on an illegal verb before any
transport call. Every verb runs the legality check, calls the transport's wire writer, then updates
the state and the ack trace. Each transport binds TMessage to its own created-message type and
supplies the writers.
Member visibility
Filter class members by access level.
protected BaseReplySender(
telemetry: ReplyTelemetry,
initialState?: AckState
)Showing members with Protected visibility and higher.
protected routeId: stringpublic async edit(
response: ReplyResponse<TNative> | string
): Promise<TMessage>public async followUp(
response: ReplyResponse<TNative> | string,
opts?: SendOpts
): Promise<TMessage>protected guardModalSource(): voidprotected remember(created: TMessage): TMessagepublic async reply(
response: ReplyResponse<TNative> | string,
opts?: SendOpts
): Promise<TMessage>public async send(
response: ReplyResponse<TNative> | string,
opts?: SendOpts
): Promise<TMessage>protected serialize(
response: ReplyResponse<TNative> | string
): SerializedReply<TNative>public async update(
response: ReplyResponse<TNative> | string
): Promise<TMessage>protected abstract writeEditOriginal(
response: ReplyResponse<TNative> | string
): Promise<TMessage>protected abstract writeEditTarget(
targetId: string,
response: ReplyResponse<TNative> | string
): Promise<TMessage>protected abstract writeFollowUp(
response: ReplyResponse<TNative> | string,
opts?: SendOpts
): Promise<TMessage>protected abstract writeModal(
data: APIModalInteractionResponseCallbackData
): Promise<void>protected abstract writeReply(
response: ReplyResponse<TNative> | string,
opts?: SendOpts
): Promise<TMessage | undefined>protected abstract writeUpdate(
response: ReplyResponse<TNative> | string
): Promise<TMessage | undefined>