Skip to content

Gifted Subscription Received Class

CreativeBuilds edited this page Jul 14, 2019 · 1 revision

Gifted Subscription Received Class


Can be found from listening to messages. When a user claims their gifted sub.

const GiftedSubscriptionReceived = require("dlive-js/src/classes/GiftedSubscriptionReceived");
new GiftedSubscriptionReceived(dliveMessageObject, streamerBlockchainusername, permissionObj) // Returns a dlive-js GiftedSubscriptionReceived Obj

Properties - Extends GiftedSubscription

name returns description
receiver string The dliveUsername of the person who claimed the gifted sub
gifter string The dliveUsername of the person who gifted the sub.
timestamp number Date in MS

Clone this wiki locally