Skip to content

Gifted Subscription Class

CreativeBuilds edited this page Jul 14, 2019 · 2 revisions

Gifted Subscription Class


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 Obj

Properties - 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

Clone this wiki locally