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
GiftSubscribeMessage
chevron_left Classes
struct
GiftSubscribeMessage

Properties

data_objectGifterdata_objectGiftMonthsdata_objectIsAnonymousdata_objectRecipientDisplayNamedata_objectRecipientUsernamedata_objectTierdata_objectTime
GiftSubscribeMessage
A viewer gifted a subscription to one specific recipient.
struct Sandbox.Streamer .
sealedSandbox.Engine

data_object Properties 7

Gifter
Viewer
The viewer who gifted the sub, or null if it was gifted anonymously (Sandbox.Streamer.GiftSubscribeMessage.IsAnonymous).
GiftMonths
int
Number of months gifted.
IsAnonymous
bool
Whether the gift was anonymous - in which case Sandbox.Streamer.GiftSubscribeMessage.Gifter is null.
RecipientDisplayName
string
The recipient's display name.
RecipientUsername
string
The recipient's login name.
Tier
SubscriptionTier
The gifted subscription's tier.
Time
DateTimeOffset
When we received the event.
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