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