itd-api / MyProfile
Interface: MyProfile
Defined in: models/users.ts:117
Свой профиль — ответ GET /api/users/me.
Отличается от чужого наличием subscription и isPhoneVerified и отсутствием полей связи (isFollowing, online).
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.biocreatedAt
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.followingCountid
id: string;Defined in: models/users.ts:83
Inherited from
ProfileBase.idisPhoneVerified
isPhoneVerified: boolean;Defined in: models/users.ts:121
Подтверждён ли телефон. Без него часть действий недоступна.
isPrivate
isPrivate: boolean;Defined in: models/users.ts:119
Закрыт ли профиль.
likesVisibility
likesVisibility: AccessType;Defined in: models/users.ts:97
Кто видит реакции.
Inherited from
ProfileBase.likesVisibilitypin?
optional pin?: Pin | null;Defined in: models/users.ts:93
Inherited from
ProfileBase.pinpostsCount
postsCount: number;Defined in: models/users.ts:100
Inherited from
ProfileBase.postsCountsubscription
subscription: SubscriptionState;Defined in: models/users.ts:123
Своя премиум-подписка.
username
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