Example #1
0
        public static async Task <string> SendRosterItemRemoveRequestAsync(this IMessageSender messageSender, Jid entityJid, RosterItem rosterItem, CancellationToken cancellationToken = default)
        {
            var request = CreateRemoveItemRequest(entityJid, rosterItem);
            await messageSender.SendToTransmitPipeAsync(request, cancellationToken);

            return(request.Id());
        }