Social Events
Track social interactions — invitations, groups, chat, and voice calls.
friend_invite
GameRebellion.TrackFriendInvite(new GrFriendInviteEvent
{
InviteMethod = "share_link",
InviteCount = 1
});
| Field | Type | Required | Description |
|---|---|---|---|
InviteMethod | string | No | share_link, email, in_game, sms |
InviteCount | int | No | Number of invitations sent |
group_join
GameRebellion.TrackGroupJoin(new GrGroupJoinEvent
{
GroupId = "guild-42",
GroupName = "Dragon Slayers",
GroupType = "guild",
GroupSize = 25
});
| Field | Type | Required | Description |
|---|---|---|---|
GroupId | string | No | Group identifier |
GroupName | string | No | Display name |
GroupType | string | No | guild, clan, party, team |
GroupSize | int | No | Current member count |
chat_message
GameRebellion.TrackChatMessage(new GrChatMessageEvent
{
ChatType = "guild",
MessageLength = 42,
MessageType = "text"
});
| Field | Type | Required | Description |
|---|---|---|---|
ChatType | string | No | global, guild, party, whisper |
MessageLength | int | No | Character count |
MessageType | string | No | text, emoji, sticker, image |
voice_call_start
GameRebellion.TrackVoiceCallStart(new GrVoiceCallStartEvent
{
Type = "group",
CallId = "call-uuid",
ParticipantCount = 4
});
| Field | Type | Required | Description |
|---|---|---|---|
Type | string | Yes | group, one_on_one |
CallId | string | No | Call identifier for pairing with stop event |
ParticipantCount | int | No | Number of participants |
voice_call_stop
GameRebellion.TrackVoiceCallStop(new GrVoiceCallStopEvent
{
CallId = "call-uuid",
StopReason = "ended"
});
| Field | Type | Required | Description |
|---|---|---|---|
CallId | string | No | Matches the start event |
StopReason | string | No | ended, dropped, timeout |