Preparing search index...
The search index is not available
@deltachat/jsonrpc-client
@deltachat/jsonrpc-client
DeltaChat
Class DeltaChat
Hierarchy
BaseDeltaChat
<
WebsocketTransport
>
DeltaChat
Index
Constructors
constructor
Properties
account?
opts
rpc
transport
Methods
close
emit
event
Loop
get
Context
Events
list
Accounts
off
on
once
Constructors
constructor
new
Delta
Chat
(
opts
?:
string
|
Opts
)
:
DeltaChat
Parameters
Optional
opts:
string
|
Opts
Returns
DeltaChat
Properties
Optional
account
account
?:
Account
opts
opts
:
Opts
rpc
rpc
:
RawClient
transport
transport
:
WebsocketTransport
Methods
close
close
(
)
:
void
Returns
void
emit
emit
<
E
>
(
event
:
E
,
...
args
:
Arguments
<
Events
[
E
]
>
)
:
DeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingMsg"
|
"IncomingMsgBunch"
|
"MsgsNoticed"
|
"MsgDelivered"
|
"MsgFailed"
|
"MsgRead"
|
"MsgDeleted"
|
"ChatModified"
|
"ChatEphemeralTimerModified"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
Rest
...
args:
Arguments
<
Events
[
E
]
>
Returns
DeltaChat
event
Loop
event
Loop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Context
Events
get
Context
Events
(
account_id
:
number
)
:
TinyEmitter
<
ContextEvents
>
Parameters
account_id:
number
Returns
TinyEmitter
<
ContextEvents
>
list
Accounts
list
Accounts
(
)
:
Promise
<
Account
[]
>
Returns
Promise
<
Account
[]
>
off
off
<
E
>
(
event
:
E
, callback
?:
Events
[
E
]
)
:
DeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingMsg"
|
"IncomingMsgBunch"
|
"MsgsNoticed"
|
"MsgDelivered"
|
"MsgFailed"
|
"MsgRead"
|
"MsgDeleted"
|
"ChatModified"
|
"ChatEphemeralTimerModified"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
Optional
callback:
Events
[
E
]
Returns
DeltaChat
on
on
<
E
>
(
event
:
E
, callback
:
Events
[
E
]
, ctx
?:
any
)
:
DeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingMsg"
|
"IncomingMsgBunch"
|
"MsgsNoticed"
|
"MsgDelivered"
|
"MsgFailed"
|
"MsgRead"
|
"MsgDeleted"
|
"ChatModified"
|
"ChatEphemeralTimerModified"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
callback:
Events
[
E
]
Optional
ctx:
any
Returns
DeltaChat
once
once
<
E
>
(
event
:
E
, callback
:
Events
[
E
]
, ctx
?:
any
)
:
DeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingMsg"
|
"IncomingMsgBunch"
|
"MsgsNoticed"
|
"MsgDelivered"
|
"MsgFailed"
|
"MsgRead"
|
"MsgDeleted"
|
"ChatModified"
|
"ChatEphemeralTimerModified"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
callback:
Events
[
E
]
Optional
ctx:
any
Returns
DeltaChat
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@deltachat/jsonrpc-
client
RPC
T
yerpc
Delta
Chat
constructor
account?
opts
rpc
transport
close
emit
event
Loop
get
Context
Events
list
Accounts
off
on
once
Generated using
TypeDoc