Interface IPushNotificationService
Сервис для PUSH-уведомлений Web-клиентов.
Namespace:InfinniPlatform.PushNotification
Assembly:InfinniPlatform.PushNotification.Abstractions.dll
Syntax
public interface IPushNotificationService
Methods
| Improve this Doc View SourceNotifyAll(String, Object)
Отправляет сообщение всем клиентам.
Declaration
Task NotifyAll(string messageType, object message)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageType | Тип сообщения. |
System.Object | message | Сообщение. |
Returns
Type | Description |
---|---|
Task |
NotifyCurrentTenant(String, Object)
Отправляет сообщение всем клиентам текущей организации.
Declaration
Task NotifyCurrentTenant(string messageType, object message)
Parameters
Type | Name | Description |
---|---|---|
System.String | messageType | Тип сообщения. |
System.Object | message | Сообщение. |
Returns
Type | Description |
---|---|
Task |
NotifyTenant(String, String, Object)
Отправляет сообщение всем клиентам указанной организации.
Declaration
Task NotifyTenant(string tenantId, string messageType, object message)
Parameters
Type | Name | Description |
---|---|---|
System.String | tenantId | Идентификатор организации. |
System.String | messageType | Тип сообщения. |
System.Object | message | Сообщение. |
Returns
Type | Description |
---|---|
Task |