mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-28 00:44:27 +00:00
Merge branch 'master' into chat-relays
This commit is contained in:
@@ -62,6 +62,11 @@ This file is generated automatically.
|
||||
- [SentGroupInvitation](#sentgroupinvitation)
|
||||
- [GroupLinkConnecting](#grouplinkconnecting)
|
||||
|
||||
[Network connection events](#network-connection-events)
|
||||
- [HostConnected](#hostconnected)
|
||||
- [HostDisconnected](#hostdisconnected)
|
||||
- [SubscriptionStatus](#subscriptionstatus)
|
||||
|
||||
[Error events](#error-events)
|
||||
- [MessageError](#messageerror)
|
||||
- [ChatError](#chaterror)
|
||||
@@ -685,6 +690,48 @@ Sent when bot joins group via another user link.
|
||||
---
|
||||
|
||||
|
||||
## Network connection events
|
||||
|
||||
|
||||
|
||||
|
||||
### HostConnected
|
||||
|
||||
Messaging or file server connected
|
||||
|
||||
**Record type**:
|
||||
- type: "hostConnected"
|
||||
- protocol: string
|
||||
- transportHost: string
|
||||
|
||||
---
|
||||
|
||||
|
||||
### HostDisconnected
|
||||
|
||||
Messaging or file server disconnected
|
||||
|
||||
**Record type**:
|
||||
- type: "hostDisconnected"
|
||||
- protocol: string
|
||||
- transportHost: string
|
||||
|
||||
---
|
||||
|
||||
|
||||
### SubscriptionStatus
|
||||
|
||||
Messaging subscription status changed
|
||||
|
||||
**Record type**:
|
||||
- type: "subscriptionStatus"
|
||||
- server: string
|
||||
- subscriptionStatus: [SubscriptionStatus](./TYPES.md#subscriptionstatus)
|
||||
- connections: [string]
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Error events
|
||||
|
||||
Bots may log these events for debugging. There will be many error events - this does NOT indicate a malfunction - e.g., they may happen because of bad network connectivity, or because messages may be delivered to deleted chats for a short period of time (they will be ignored).
|
||||
|
||||
@@ -153,6 +153,7 @@ This file is generated automatically.
|
||||
- [SndGroupEvent](#sndgroupevent)
|
||||
- [SrvError](#srverror)
|
||||
- [StoreError](#storeerror)
|
||||
- [SubscriptionStatus](#subscriptionstatus)
|
||||
- [SwitchPhase](#switchphase)
|
||||
- [TimedMessagesGroupPreference](#timedmessagesgrouppreference)
|
||||
- [TimedMessagesPreference](#timedmessagespreference)
|
||||
@@ -3598,6 +3599,26 @@ WorkItemError:
|
||||
- errContext: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SubscriptionStatus
|
||||
|
||||
**Discriminated union type**:
|
||||
|
||||
Active:
|
||||
- type: "active"
|
||||
|
||||
Pending:
|
||||
- type: "pending"
|
||||
|
||||
Removed:
|
||||
- type: "removed"
|
||||
- subError: string
|
||||
|
||||
NoSub:
|
||||
- type: "noSub"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SwitchPhase
|
||||
|
||||
Reference in New Issue
Block a user