加载指定用户帖子

This commit is contained in:
目棃
2025-03-12 11:06:12 +08:00
parent e3fb88fd44
commit c3246e95ce
12 changed files with 474 additions and 42 deletions

View File

@@ -74,6 +74,27 @@ declare namespace TGApp.BBS.Post {
*/
type NewsRes = { list: Array<FullData>; last_id: string; is_last: boolean };
/**
* @description 用户发布帖子返回
* @since Beta v0.7.2
* @interface UserPostResp
* @extends TGApp.BBS.Response.BaseWithData
* @property {UserPostRes} data 返回数据
* @return UserPostResp
*/
type UserPostResp = TGApp.BBS.Response.BaseWithData<UserPostRes>;
/**
* @description 用户发布帖子数据
* @since Beta v0.7.2
* @interface UserPostRes
* @property {Array<FullData>} list 帖子列表
* @property {boolean} is_last 是否最后一页
* @property {string} next_offset 下一页偏移量
* @return UserPostRes
*/
type UserPostRes = { list: Array<FullData>; is_last: boolean; next_offset: string };
/**
* @description 帖子数据
* @since Beta v0.7.2