Type Alias UserInfo

UserInfo: {
    screenId: string;
    userId: string;
    username: string;
}

This is a simplified version of a Reddit User. You'll probably want to use the Reddit API Client to grab a more complete one.

Type declaration

  • screenId: string

    This is a unique id for the specific app on the other end. If they refresh, it would be a different one.

  • userId: string
  • username: string