-
Notifications
You must be signed in to change notification settings - Fork 3
Gifted Subscription Class
CreativeBuilds edited this page Jul 14, 2019
·
2 revisions
Can be found from listening to messages.
const GiftedSubscription = require("dlive-js/src/classes/GiftedSubscription");
new GiftedSubscription(dliveMessageObject, streamerBlockchainusername, permissionObj) // Returns a dlive-js GiftedSubscription ObjProperties - Extends Message
| name | returns | description |
|---|---|---|
| receiver | string or null | The dliveUsername of the person who was gifted a sub or null if the person gifting, gifted to the channel (sent the sub to a random person) |
| timestamp | number | Date in MS |