Skip to content

How do I get user bio? #410

Answered by rojvv
foodornt asked this question in Q&A
Sep 27, 2022 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Try this:

const { fullUser } = await client.invoke(new Api.users.GetFullUser({ id: userIdentifier }));
const { about: bio } = fullUser;

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@foodornt
Comment options

Answer selected by foodornt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants