Mapping telegram user ids to Convex users
ctx.auth.getUserIdentity() return the user?I have a use case for telegram bot where I am looking up user by their telegram user id and then calling the actions that depend on
ctx.auth.getUserIdentity(). I want to avoid the need to pass telegram user id to the convex actions and want to have the same experience for telegram users as a user calling via convex react client.
I am using Clerk as auth provider and have users synced users between
users table and Clerk. users tables has telegramUserId field which I am using for looking up user when handling webhook requests