matrix-js-sdk
    Preparing search index...

    Type Alias SendEventParams

    Options for sending an event.

    type SendEventParams = {
        eventObject: Partial<IEvent>;
        queryDict?: QueryDict;
        roomId: string;
        threadId: string | null;
        txnId?: string;
    }
    Index
    eventObject: Partial<IEvent>

    An object with the partial structure of an event, to which event_id, user_id, room_id and origin_server_ts will be added.

    queryDict?: QueryDict

    Optional query parameters for the send request.

    roomId: string

    The room to send the event to.

    threadId: string | null

    The thread to send the event in, or null for the main timeline.

    txnId?: string

    Optional transaction ID. Generated if omitted.