Class: NewsPost
January 23, 2026 ยท View on GitHub
steamapi / NewsPost
Class: NewsPost
Defined in: structures/NewsPost.ts:1
Constructors
Constructor
new NewsPost(
data):NewsPost
Defined in: structures/NewsPost.ts:38
Parameters
data
any
Returns
NewsPost
Properties
appID
appID:
number
Defined in: structures/NewsPost.ts:33
App ID this news pertains to
author
author:
string
Defined in: structures/NewsPost.ts:15
Name of the post's author
content
content:
string
Defined in: structures/NewsPost.ts:18
Content of the post
feed
feed:
string
Defined in: structures/NewsPost.ts:24
Human readable label to be display on feed
feedName
feedName:
string
Defined in: structures/NewsPost.ts:27
API name of feed this was posted to
feedType
feedType:
number
Defined in: structures/NewsPost.ts:30
Feed type. Not sure what this is. Seems to always be 1
id
id:
string
Defined in: structures/NewsPost.ts:3
ID for this post
publishedTimestamp
publishedTimestamp:
number
Defined in: structures/NewsPost.ts:21
Unix Timestamp for when the post was published
tags?
optionaltags:string[]
Defined in: structures/NewsPost.ts:36
Tags associated with this post
title
title:
string
Defined in: structures/NewsPost.ts:6
Title for this post
url
url:
string
Defined in: structures/NewsPost.ts:9
Link to this post
urlExternal
urlExternal:
boolean
Defined in: structures/NewsPost.ts:12
Whether the URL is external
Accessors
publishedAt
Get Signature
get publishedAt():
Date
Defined in: structures/NewsPost.ts:54
Date when this post was published
Returns
Date