SDK
SDK copied to clipboard
How can i use the data in server component?
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??