API Referenceglobal
GiftSubscriptionsMessageclass
A viewer gifted a batch of subscriptions to the community at once (a "mystery" / community gift). The individual recipients arrive separately as `Sandbox.Streamer.GiftSubscribeMessage` events.
object→GiftSubscriptionsMessage
Properties6
Showing 6 properties
public int Sandbox.Streamer.GiftSubscriptionsMessage.Count { get; set; }
How many subscriptions were gifted in this batch.
Returns:
int—public Sandbox.Streamer.Viewer Sandbox.Streamer.GiftSubscriptionsMessage.Gifter { get; set; }
The viewer who gifted the subs, or null if it was gifted anonymously (`Sandbox.Streamer.GiftSubscriptionsMessage.IsAnonymous`).
public bool Sandbox.Streamer.GiftSubscriptionsMessage.IsAnonymous { get; set; }
Whether the gift was anonymous - in which case `Sandbox.Streamer.GiftSubscriptionsMessage.Gifter` is null.
Returns:
bool—public Sandbox.Streamer.SubscriptionTier Sandbox.Streamer.GiftSubscriptionsMessage.Tier { get; set; }
The gifted subscriptions' tier.
public System.DateTimeOffset Sandbox.Streamer.GiftSubscriptionsMessage.Time { get; set; }
When we received the event.
Returns:
DateTimeOffset—public int Sandbox.Streamer.GiftSubscriptionsMessage.TotalGifts { get; set; }
The gifter's lifetime total of subs gifted to this channel, or 0 if unknown.
Returns:
int—No results match this filter.