Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FullUser does not return birthday and personalChannelId #714

Open
IlyaBarkov opened this issue Aug 25, 2024 · 0 comments
Open

FullUser does not return birthday and personalChannelId #714

IlyaBarkov opened this issue Aug 25, 2024 · 0 comments

Comments

@IlyaBarkov
Copy link

IlyaBarkov commented Aug 25, 2024

Hello!
I am using the most up to date version of webpack-build of GramJS.
I want to get information about new fields birthday and personalChannelId for the account, where they are listed.
For this purpuse I use the code:

        const userResult = await client.invoke(
            new Api.users.GetFullUser({
                id: "@Dolce_Dasha"
            })
        );
        console.log(userResult.fullUser);

But fullUser doest not have a field for birthday, neither a field for personalChannelId.
However judging from the code tl\api.d.ts - they have to be there.

Please, tell me if these data does not come from Telegram API? Or they come from Telegram API, but the GramJS does not display it?

Thanks for your help in advance!

Ilya

tg-fulluser

tg-viewprofile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant