Preparing search index...
The search index is not available
@deltachat/jsonrpc-client
@deltachat/jsonrpc-client
StdioDeltaChat
Class StdioDeltaChat
Hierarchy
BaseDeltaChat
<
StdioTransport
>
StdioDeltaChat
Index
Constructors
constructor
Properties
account?
rpc
transport
Methods
close
emit
event
Loop
get
Context
Events
list
Accounts
off
on
once
Constructors
constructor
new
Stdio
Delta
Chat
(
input
:
any
, output
:
any
, startEventLoop
:
boolean
)
:
StdioDeltaChat
Parameters
input:
any
output:
any
startEventLoop:
boolean
Returns
StdioDeltaChat
Properties
Optional
account
account
?:
Account
rpc
rpc
:
RawClient
transport
transport
:
StdioTransport
Methods
close
close
(
)
:
void
Returns
void
emit
emit
<
E
>
(
event
:
E
,
...
args
:
Arguments
<
Events
[
E
]
>
)
:
StdioDeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingWebxdcNotify"
|
"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"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
Rest
...
args:
Arguments
<
Events
[
E
]
>
Returns
StdioDeltaChat
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
]
)
:
StdioDeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingWebxdcNotify"
|
"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"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
Optional
callback:
Events
[
E
]
Returns
StdioDeltaChat
on
on
<
E
>
(
event
:
E
, callback
:
Events
[
E
]
, ctx
?:
any
)
:
StdioDeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingWebxdcNotify"
|
"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"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
callback:
Events
[
E
]
Optional
ctx:
any
Returns
StdioDeltaChat
once
once
<
E
>
(
event
:
E
, callback
:
Events
[
E
]
, ctx
?:
any
)
:
StdioDeltaChat
Type Parameters
E
extends
"WebxdcStatusUpdate"
|
"Info"
|
"SmtpConnected"
|
"ImapConnected"
|
"SmtpMessageSent"
|
"ImapMessageDeleted"
|
"ImapMessageMoved"
|
"ImapInboxIdle"
|
"NewBlobFile"
|
"DeletedBlobFile"
|
"Warning"
|
"Error"
|
"ErrorSelfNotInGroup"
|
"MsgsChanged"
|
"ReactionsChanged"
|
"IncomingReaction"
|
"IncomingWebxdcNotify"
|
"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"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event:
E
callback:
Events
[
E
]
Optional
ctx:
any
Returns
StdioDeltaChat
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@deltachat/jsonrpc-
client
RPC
T
yerpc
Stdio
Delta
Chat
constructor
account?
rpc
transport
close
emit
event
Loop
get
Context
Events
list
Accounts
off
on
once
Generated using
TypeDoc