Chat SDK v1.3.5 for React Native
    Preparing search index...

    Enumeration ChatSearchDirection

    The message search directions.

    The message search is based on the Unix timestamp included in messages. Each message contains two Unix timestamps:

    • The Unix timestamp when the message is created;
    • The Unix timestamp when the message is received by the server.

    Which Unix timestamp is used for message search depends on the setting of ChatOptions.sortMessageByServerTime.

    Index

    Enumeration Members

    Enumeration Members

    DOWN: 1

    Messages are retrieved in the ascending order of the timestamp included in them.

    UP: 0

    Messages are retrieved in the descending order of the timestamp included in them.