s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
ChatMessage
chevron_left Classes
struct
ChatMessage

Properties

data_objectBitsdata_objectChanneldata_objectIsFirstMessagedata_objectMessagedata_objectTimedata_objectViewer
ChatMessage
struct Sandbox.Streamer .
sealedSandbox.Engine

data_object Properties 6

Bits
int
Bits cheered with this message, or 0 if it wasn't a cheer.
Channel
string
The channel the message was sent in.
IsFirstMessage
bool
Whether this is the viewer's first ever message in this chat.
Message
string
The message text.
Time
DateTimeOffset
When we received the message.
Viewer
Viewer
The viewer who sent the message. Their display name, color and badges live here.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter