12 lines
372 B
C#
12 lines
372 B
C#
using CorePush.Google;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CorePush.Interfaces
|
|
{
|
|
public interface IFcmSender
|
|
{
|
|
Task<FcmResponse> SendAsync(string deviceId, object payload, CancellationToken cancellationToken = default);
|
|
Task<FcmResponse> SendAsync(object payload, CancellationToken cancellationToken = default);
|
|
}
|
|
} |