SDK icon indicating copy to clipboard operation
SDK copied to clipboard

How can i use the data in server component?

Open shahbaz4783 opened this issue 1 year ago • 0 comments

Im building a tg mini app, i need to get userid of telegram so i can pass it in a function to fetch data. Fetching data works in server component but we cant access user id there as it works in client component only.

is there any way i can access user id in server component??

shahbaz4783 avatar Aug 13 '24 14:08 shahbaz4783