Class: UserFriend

January 23, 2026 ยท View on GitHub

steamapi


steamapi / UserFriend

Class: UserFriend

Defined in: structures/UserFriend.ts:3

Extends

  • default

Constructors

Constructor

new UserFriend(data): UserFriend

Defined in: structures/UserFriend.ts:10

Parameters

data

any

Returns

UserFriend

Overrides

User.constructor

Properties

friendedTimestamp

friendedTimestamp: number

Defined in: structures/UserFriend.ts:5

Unix Timestamp representing when the friendship started


relationship

relationship: string

Defined in: structures/UserFriend.ts:8

The type of the relationship (note: seems to always be 'friend')


steamID

steamID: string

Defined in: structures/User.ts:3

This user's Steam ID

Inherited from

User.steamID

Accessors

friendedAt

Get Signature

get friendedAt(): Date

Defined in: structures/UserFriend.ts:18

Date object when this friendship started

Returns

Date


profileURL

Get Signature

get profileURL(): string

Defined in: structures/User.ts:10

The permalink to this user's profile

Returns

string

Inherited from

User.profileURL