channel:{id}:resubShared

Sent when a user who has recently resubscribed to the channel chooses to 'share' their resubscription, by clicking the 'Share' button within the site chat. This event is preferred to the `channel:{id}:resubscribed` event if your integration reacts with some form of celebration, but you should be aware that this event will not fire at all for a resubscription if the user does not choose to share it. The body is identical to that of the `channel:{id}:resubscribed` event.

Payload

Name Type Description
user User The user who just subscribed to the channel.
since IsoDate The date for when the user first subscribed, from the start of the recurring billing period.
until IsoDate The date for when the subscription expires.
totalMonths uint The number of months the user has been subscribed since the beginning of time.

Example

{
  "user": {
    "level": 5,
    "social": {},
    "id": 696,
    "username": "HypeBot",
    "verified": true,
    "experience": 72,
    "sparks": 1620,
    "avatarUrl": "https://uploads.mixer.com/avatar/ed47s4h5-696.jpg",
    "bio": "",
    "primaryTeam": null,
    "createdAt": "2015-02-19T17:43:07.000Z",
    "updatedAt": "2017-05-25T16:26:14.000Z",
    "deletedAt": null
  },
  "since": "2017-09-25T11:00:00.000Z",
  "until": "2017-12-25T11:00:00.000Z",
  "totalMonths": 3
}