Hello Rupen,
Thanks for reaching out. The conversation id is different from a user id. When running the Teams/[TeamId]/members the id field represents the conversation id. The userid field represents the GUID of the user associated with the user account.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.
Thanks.