IStartClientOpts
Defined in: src/client.ts:483
Extended by
Section titled “Extended by”Properties
Section titled “Properties”clientWellKnownPollPeriod?
Section titled “clientWellKnownPollPeriod?”
optionalclientWellKnownPollPeriod?:number
Defined in: src/client.ts:532
The number of seconds between polls to /.well-known/matrix/client, undefined to disable. This should be in the order of hours. Default: undefined.
disablePresence?
Section titled “disablePresence?”
optionaldisablePresence?:boolean
Defined in: src/client.ts:520
True to perform syncing without automatically updating presence.
filter?
Section titled “filter?”
optionalfilter?:Filter
Defined in: src/client.ts:515
The filter to apply to /sync calls.
includeArchivedRooms?
Section titled “includeArchivedRooms?”
optionalincludeArchivedRooms?:boolean
Defined in: src/client.ts:492
True to put archived=true</code> on the <code>/initialSync request. Default: false.
initialSyncLimit?
Section titled “initialSyncLimit?”
optionalinitialSyncLimit?:number
Defined in: src/client.ts:487
The event limit= to apply to initial sync. Default: 8.
lazyLoadMembers?
Section titled “lazyLoadMembers?”
optionallazyLoadMembers?:boolean
Defined in: src/client.ts:526
True to not load all membership events during initial sync but fetch them when needed by calling
loadOutOfBandMembers This will override the filter option at this moment.
pendingEventOrdering?
Section titled “pendingEventOrdering?”
optionalpendingEventOrdering?:PendingEventOrdering
Defined in: src/client.ts:505
Controls where pending messages appear in a room’s timeline. If “chronological”, messages will
appear in the timeline when the call to sendEvent was made. If “detached”,
pending messages will appear in a separate list, accessible via Room#getPendingEvents.
Default: “chronological”.
pollTimeout?
Section titled “pollTimeout?”
optionalpollTimeout?:number
Defined in: src/client.ts:510
The number of milliseconds to wait on /sync. Default: 30000 (30 seconds).
resolveInvitesToProfiles?
Section titled “resolveInvitesToProfiles?”
optionalresolveInvitesToProfiles?:boolean
Defined in: src/client.ts:497
True to do /profile requests on every invite event if the displayname/avatar_url is not known for this user ID. Default: false.
slidingSync?
Section titled “slidingSync?”
optionalslidingSync?:SlidingSync
Defined in: src/client.ts:543
threadSupport?
Section titled “threadSupport?”
optionalthreadSupport?:boolean
Defined in: src/client.ts:538
Will organises events in threaded conversations when a thread relation is encountered
unstableMSC4429SyncUserProfileFields?
Section titled “unstableMSC4429SyncUserProfileFields?”
optionalunstableMSC4429SyncUserProfileFields?:string[]
Defined in: src/client.ts:549
Include user profiles in sync responses. Will only work if the server supports MSC4429.