@@ -2258,6 +2258,13 @@ export class MediaMessage extends BaseMessage implements Message {
22582258 * Set the tags for the message.
22592259 */
22602260 setTags ( tags : Array < String > ) : void ;
2261+ /**
2262+ * Gets the moderation status of the message.
2263+ * @description If the message is not moderated, it returns "unmoderated".
2264+ * If the message is moderated, it returns the status of the moderation.
2265+ * @returns {string }
2266+ */
2267+ getModerationStatus ( ) : string ;
22612268}
22622269
22632270/**
@@ -2649,6 +2656,13 @@ export class TextMessage extends BaseMessage implements Message {
26492656 * Set the tags for the message.
26502657 */
26512658 setTags ( tags : Array < String > ) : void ;
2659+ /**
2660+ * Gets the moderation status of the message.
2661+ * @description If the message is not moderated, it returns "unmoderated".
2662+ * If the message is moderated, it returns the status of the moderation.
2663+ * @returns {string }
2664+ */
2665+ getModerationStatus ( ) : string ;
26522666}
26532667
26542668export const constants : {
@@ -3894,6 +3908,10 @@ export class MessageListener {
38943908 * This event is triggered when a message is read by all members in a group.
38953909 */
38963910 onMessagesReadByAll ?: Function ;
3911+ /**
3912+ * This event is triggered when a message is moderated.
3913+ */
3914+ onMessageModerated ?: Function ;
38973915 /**
38983916 * This event is triggered when an AI tool result is received.
38993917 */
0 commit comments