feat(api): publish message history direction
Expose reverse_order in the SDK request types and regenerate the MCP action catalog for group and private message history. Describe the anchored older-or-newer semantics and retain true as the backward-compatible default for existing clients. Refs #229
This commit is contained in:
3 files changed
+62
No files matched your search
@@ -194,6 +194,8 @@ export interface SetGroupReactionParams extends JsonObject {
|
||||
export interface GetMessageHistoryParams extends JsonObject {
|
||||
message_id?: number;
|
||||
count?: number;
|
||||
/** With a non-zero message_id, include the anchor and query older (`true`) or newer (`false`) messages. Defaults to `true`. */
|
||||
reverse_order?: boolean;
|
||||
}
|
||||
|
||||
export interface GetGroupMessageHistoryParams extends GroupIdParams, GetMessageHistoryParams {}
|
||||
|
||||
Reference in new issue
Block a user