@deltachat/jsonrpc-client
Preparing search index...
StdioDeltaChat
Class StdioDeltaChat
Hierarchy (
View Summary
)
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
StdioDeltaChat
(
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
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"
|
"ChatDeleted"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
,
>
(
event
:
E
,
...
args
:
Arguments
<
Events
[
E
]
>
,
)
:
this
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"
|
"ChatDeleted"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
Parameters
event
:
E
...
args
:
Arguments
<
Events
[
E
]
>
Returns
this
event
Loop
eventLoop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Context
Events
getContextEvents
(
account_id
:
number
)
:
TinyEmitter
<
ContextEvents
>
Parameters
account_id
:
number
Returns
TinyEmitter
<
ContextEvents
>
list
Accounts
listAccounts
()
:
Promise
<
Account
[]
>
Returns
Promise
<
Account
[]
>
off
off
<
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"
|
"ChatDeleted"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
,
>
(
event
:
E
,
callback
?:
Events
[
E
]
,
)
:
this
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"
|
"ChatDeleted"
|
"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
this
on
on
<
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"
|
"ChatDeleted"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
,
>
(
event
:
E
,
callback
:
Events
[
E
]
,
ctx
?:
any
,
)
:
this
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"
|
"ChatDeleted"
|
"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
this
once
once
<
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"
|
"ChatDeleted"
|
"ContactsChanged"
|
"LocationChanged"
|
"ConfigureProgress"
|
"ImexProgress"
|
"ImexFileWritten"
|
"SecurejoinInviterProgress"
|
"SecurejoinJoinerProgress"
|
"ConnectivityChanged"
|
"SelfavatarChanged"
|
"ConfigSynced"
|
"WebxdcRealtimeData"
|
"WebxdcRealtimeAdvertisementReceived"
|
"WebxdcInstanceDeleted"
|
"AccountsBackgroundFetchDone"
|
"ChatlistChanged"
|
"ChatlistItemChanged"
|
"AccountsChanged"
|
"AccountsItemChanged"
|
"EventChannelOverflow"
|
"ALL"
,
>
(
event
:
E
,
callback
:
Events
[
E
]
,
ctx
?:
any
,
)
:
this
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"
|
"ChatDeleted"
|
"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
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
account
rpc
transport
Methods
close
emit
event
Loop
get
Context
Events
list
Accounts
off
on
once
@deltachat/jsonrpc-client
Loading...