retractStickerPack method
Removes the sticker pack with id id
from the PubSub node of jid
.
On success, returns the true. On failure, returns a PubSubError.
Implementation
Future<Result<PubSubError, bool>> retractStickerPack(
JID jid,
String id,
) async {
final pm = getAttributes().getManagerById<PubSubManager>(pubsubManager)!;
return pm.retract(
jid,
stickersXmlns,
id,
);
}