itd-api / PublicProfile
Interface: PublicProfile
Defined in: models/users.ts:159
Чужой профиль — ответ GET /api/users/{id|username}.
Вместо своей подписки содержит связь с вами и присутствие.
Extends
ProfileBase
Properties
avatar
avatar: string;Defined in: models/users.ts:87
Эмодзи-аватар, см. Author.avatar.
Inherited from
ProfileBase.avatarbanner
banner: string | null;Defined in: models/users.ts:89
URL изображения баннера либо null.
Inherited from
ProfileBase.bannerbio
bio: string;Defined in: models/users.ts:91
Описание профиля.
Inherited from
ProfileBase.biocanMessage
canMessage: boolean;Defined in: models/users.ts:168
Может ли текущий пользователь написать этому профилю личное сообщение.
createdAt
createdAt: string;Defined in: models/users.ts:101
Inherited from
ProfileBase.createdAtdisplayName
displayName: string;Defined in: models/users.ts:85
Inherited from
ProfileBase.displayNamefollowersCount
followersCount: number;Defined in: models/users.ts:98
Inherited from
ProfileBase.followersCountfollowingCount
followingCount: number;Defined in: models/users.ts:99
Inherited from
ProfileBase.followingCounthasNuksta?
optional hasNuksta?: boolean;Defined in: models/users.ts:160
id
id: string;Defined in: models/users.ts:83
Inherited from
ProfileBase.idisFollowedBy
isFollowedBy: boolean;Defined in: models/users.ts:166
Подписан ли он на вас.
isFollowing
isFollowing: boolean;Defined in: models/users.ts:164
Подписаны ли вы на него.
lastSeen
lastSeen: string | null;Defined in: models/users.ts:172
Когда был в сети. null, если скрыто настройками приватности.
likesVisibility
likesVisibility: AccessType;Defined in: models/users.ts:97
Кто видит реакции.
Inherited from
ProfileBase.likesVisibilityonline
online: boolean;Defined in: models/users.ts:170
Сейчас ли пользователь в сети.
pin?
optional pin?: Pin | null;Defined in: models/users.ts:93
Inherited from
ProfileBase.pinpinnedPostId
pinnedPostId: string | null;Defined in: models/users.ts:162
Закреплённый пост, если он есть.
postsCount
postsCount: number;Defined in: models/users.ts:100
Inherited from
ProfileBase.postsCountusername
username: string;Defined in: models/users.ts:84
Inherited from
ProfileBase.usernameverified
verified: boolean;Defined in: models/users.ts:92
Inherited from
ProfileBase.verifiedwallAccess
wallAccess: AccessType;Defined in: models/users.ts:95
Кто может писать на стену.
Inherited from
ProfileBase.wallAccess