itd-api / PublicProfile
Interface: PublicProfile
Defined in: types/models.ts:204
Чужой профиль — ответ GET /api/users/{id|username}.
Вместо своей подписки содержит связь с вами и присутствие.
Extends
ProfileBase
Properties
avatar
avatar: string;Defined in: types/models.ts:145
Эмодзи-аватар, см. Author.avatar.
Inherited from
ProfileBase.avatarbanner
banner: string | null;Defined in: types/models.ts:147
URL изображения баннера либо null.
Inherited from
ProfileBase.bannerbio
bio: string;Defined in: types/models.ts:149
Описание профиля.
Inherited from
ProfileBase.biocreatedAt
createdAt: string;Defined in: types/models.ts:159
Inherited from
ProfileBase.createdAtdisplayName
displayName: string;Defined in: types/models.ts:143
Inherited from
ProfileBase.displayNamefollowersCount
followersCount: number;Defined in: types/models.ts:156
Inherited from
ProfileBase.followersCountfollowingCount
followingCount: number;Defined in: types/models.ts:157
Inherited from
ProfileBase.followingCounthasNuksta?
optional hasNuksta?: boolean;Defined in: types/models.ts:205
id
id: string;Defined in: types/models.ts:141
Inherited from
ProfileBase.idisFollowedBy
isFollowedBy: boolean;Defined in: types/models.ts:211
Подписан ли он на вас.
isFollowing
isFollowing: boolean;Defined in: types/models.ts:209
Подписаны ли вы на него.
lastSeen
lastSeen: string | null;Defined in: types/models.ts:215
Когда был в сети. null, если скрыто настройками приватности.
likesVisibility
likesVisibility: AccessType;Defined in: types/models.ts:155
Кто видит реакции.
Inherited from
ProfileBase.likesVisibilityonline
online: boolean;Defined in: types/models.ts:213
Сейчас ли пользователь в сети.
pin?
optional pin?: Pin | null;Defined in: types/models.ts:151
Inherited from
ProfileBase.pinpinnedPostId
pinnedPostId: string | null;Defined in: types/models.ts:207
Закреплённый пост, если он есть.
postsCount
postsCount: number;Defined in: types/models.ts:158
Inherited from
ProfileBase.postsCountusername
username: string;Defined in: types/models.ts:142
Inherited from
ProfileBase.usernameverified
verified: boolean;Defined in: types/models.ts:150
Inherited from
ProfileBase.verifiedwallAccess
wallAccess: AccessType;Defined in: types/models.ts:153
Кто может писать на стену.
Inherited from
ProfileBase.wallAccess