itd-api / MyProfile
Interface: MyProfile
Defined in: models/users.ts:127
Свой профиль — ответ GET /api/users/me.
Отличается от чужого наличием subscription и isPhoneVerified и отсутствием полей связи (isFollowing, online).
Extends
ProfileBase
Properties
avatar
avatar: string;Defined in: models/users.ts:92
Аватар: эмодзи или адрес изображения, см. Author.avatar.
Inherited from
ProfileBase.avatarbanner
banner: string | null;Defined in: models/users.ts:99
URL изображения баннера либо null.
Inherited from
ProfileBase.bannerbio
bio: string;Defined in: models/users.ts:101
Описание профиля.
Inherited from
ProfileBase.bioclanAvatar?
optional clanAvatar?: string;Defined in: models/users.ts:97
Эмодзи клана. Совпадает с avatar, пока аватар — эмодзи; при аватаре-картинке остаётся символом клана.
Inherited from
ProfileBase.clanAvatarcreatedAt
createdAt: string;Defined in: models/users.ts:111
Inherited from
ProfileBase.createdAtdisplayName
displayName: string;Defined in: models/users.ts:32
Inherited from
ProfileBase.displayNamefollowersCount
followersCount: number;Defined in: models/users.ts:108
Inherited from
ProfileBase.followersCountfollowingCount
followingCount: number;Defined in: models/users.ts:109
Inherited from
ProfileBase.followingCountid
id: string;Defined in: models/users.ts:30
Inherited from
ProfileBase.idisPhoneVerified
isPhoneVerified: boolean;Defined in: models/users.ts:131
Подтверждён ли телефон. Без него часть действий недоступна.
isPrivate
isPrivate: boolean;Defined in: models/users.ts:129
Закрыт ли профиль.
likesVisibility
likesVisibility: AccessType;Defined in: models/users.ts:107
Кто видит реакции.
Inherited from
ProfileBase.likesVisibilitypin?
optional pin?: Pin | null;Defined in: models/users.ts:103
Inherited from
ProfileBase.pinpostsCount
postsCount: number;Defined in: models/users.ts:110
Inherited from
ProfileBase.postsCountsubscription
subscription: SubscriptionState;Defined in: models/users.ts:133
Своя премиум-подписка.
username
username: string;Defined in: models/users.ts:31
Inherited from
ProfileBase.usernameverified
verified: boolean;Defined in: models/users.ts:102
Inherited from
ProfileBase.verifiedwallAccess
wallAccess: AccessType;Defined in: models/users.ts:105
Кто может писать на стену.
Inherited from
ProfileBase.wallAccess