Skip to content

Commit

Permalink
Add bdate_visibility field to GetUserInfo response type
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgii Bagretsov committed Jan 29, 2025
1 parent 44a420e commit faed548
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/core/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export type UserInfo = {
* the field is not in the response.
*/
bdate?: string;
/** Visibility of Date of birth: 0 - hidden, 1 - entire date of birth is visible,
* 2 - day and month are visible */
bdate_visibility: 0 | 1 | 2;
/**
* URL of the square user's photo with 100px width.
* https://vk.com/images/camera_100.png will be returned if the photo
Expand Down

0 comments on commit faed548

Please sign in to comment.