itd-api / PostBase
Interface: PostBase
Defined in: models/content.ts:65
Общая часть поста ленты и поста, на который ссылается репост.
Extends
Extended by
Properties
attachments
ts
attachments: Attachment[];Defined in: models/content.ts:71
author
ts
author: Author;Defined in: models/content.ts:70
commentsCount
ts
commentsCount: number;Defined in: models/content.ts:57
Inherited from
content
ts
content: string;Defined in: models/content.ts:67
createdAt
ts
createdAt: string;Defined in: models/content.ts:72
dominantEmoji?
ts
optional dominantEmoji?: string | null;Defined in: models/content.ts:61
Преобладающая реакция — эмодзи либо null.
Inherited from
id
ts
id: string;Defined in: models/content.ts:66
likesCount
ts
likesCount: number;Defined in: models/content.ts:56
Inherited from
repostsCount
ts
repostsCount: number;Defined in: models/content.ts:58
Inherited from
spans
ts
spans: Span[];Defined in: models/content.ts:69
Разметка текста. Передаётся без изменений, см. Span.
viewsCount
ts
viewsCount: number;Defined in: models/content.ts:59
Inherited from
vs?
ts
optional vs?: string;Defined in: models/content.ts:78
Служебная метка показа для телеметрии.
Нужна только эндпоинтам itd.telemetry.*. В остальных случаях игнорируйте.