-
-
Notifications
You must be signed in to change notification settings - Fork 9
mattermostevents MessageEventArgs
BigMakCode edited this page Aug 5, 2024
·
1 revision
Update event message data.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph Mattermost.Events
Mattermost.Events.MessageEventArgs[[MessageEventArgs]]
end
subgraph System
System.EventArgs[[EventArgs]]
end
System.EventArgs --> Mattermost.Events.MessageEventArgs
| Type | Name | Methods |
|---|---|---|
CancellationToken |
CancellationTokenCancellation token from IMattermostClient.StartReceivingAsync(System.Threading.CancellationToken) |
get |
IMattermostClient |
ClientMattermost client instance. |
get, set |
PostUpdateInfo |
MessageReceived message. |
get |
Update event message data.
EventArgs
internal MessageEventArgs(IMattermostClient mattermostBot, WebsocketMessage response, CancellationToken cancellationToken)| Type | Name | Description |
|---|---|---|
IMattermostClient |
mattermostBot | |
WebsocketMessage |
response | |
CancellationToken |
cancellationToken |
public IMattermostClient Client { get; set; }Mattermost client instance.
public CancellationToken CancellationToken { get; }Cancellation token from IMattermostClient.StartReceivingAsync(System.Threading.CancellationToken)
public PostUpdateInfo Message { get; }Received message.
Generated with ModularDoc