GiftSubscribeMessageclass

A viewer gifted a subscription to one specific recipient.

objectGiftSubscribeMessage
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Streamer.GiftSubscribeMessage

Properties7

Showing 7 properties

public Sandbox.Streamer.Viewer Sandbox.Streamer.GiftSubscribeMessage.Gifter { get; set; }PUBLICGETSET

The viewer who gifted the sub, or null if it was gifted anonymously (`Sandbox.Streamer.GiftSubscribeMessage.IsAnonymous`).

Returns:Viewer

public bool Sandbox.Streamer.GiftSubscribeMessage.IsAnonymous { get; set; }PUBLICGETSET

Whether the gift was anonymous - in which case `Sandbox.Streamer.GiftSubscribeMessage.Gifter` is null.

Returns:bool

public string Sandbox.Streamer.GiftSubscribeMessage.RecipientDisplayName { get; set; }PUBLICGETSET

The recipient's display name.

Returns:string

On this page