donate

Arguments:

NameDescriptionRequired
permLinkPermLink is the link of the stream/video in which to donate toYes
typeType of item to donate. One of the following: 'LEMON', 'ICE_CREAM', 'DIAMOND', 'NINJAGHINI'. 'NINJET'.No, defaults to 'LEMON'
countNumber of 'type' to donate.No, defaults to 1.

Example:

const bot = new Dlive(AUTH_KEY);

bot.getLivestreamPage('Ltzonda').then(res => {
	if (res.livestream) {
		bot.donate(res.livestream.permlink, 'ICE_CREAM', 1).then(console.log);
	} else {
		console.log('User is not live.')
	}
});
true