Skip to content

bug: replyでメンションが設定できない #73

@usuraiyukito

Description

@usuraiyukito

What happened?

メンションが設定できない

Error message or Bug description

以下の引数にcontentMetadataがあるけど、sendMessageに設定されていないためメンションができない

async reply(
input: string | {
text?: string;
contentType?: ContentType;
contentMetadata?: Record<string, string>;
relatedMessageId?: string;
location?: Location;
},
): Promise<void> {
if (typeof input === "string") {
return this.reply({
text: input,
});
}
await this.#client.base.square.sendMessage({
relatedMessageId: this.raw.message.id,
squareChatMid: this.raw.message.to,
text: input.text,
});
}

Environment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions