We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589c66b commit fc8cd39Copy full SHA for fc8cd39
src/client.ts
@@ -3863,7 +3863,7 @@ export class MatrixClient extends EventEmitter {
3863
* @return {Promise} Resolves: to an empty object
3864
* @return {module:http-api.MatrixError} Rejects: with an error response.
3865
*/
3866
- public async sendReadReceipt(event: MatrixEvent, opts: { hidden?: boolean }, callback?: Callback): Promise<{}> {
+ public async sendReadReceipt(event: MatrixEvent, opts?: { hidden?: boolean }, callback?: Callback): Promise<{}> {
3867
if (typeof (opts) === 'function') {
3868
callback = opts as any as Callback; // legacy
3869
opts = {};
0 commit comments