setDataTime

public void setDataTime(long dataTime)

Sets the starting point for fetching messages. This corresponds to the sentTime in the message; if there are no messages in the local database, pass 0 for the first time, otherwise pass the sentTime of the earliest message to fetch the latest count messages.

Parameters

dataTime

The starting point for fetching messages. This corresponds to the sentTime in the message; if there are no messages in the local database, pass 0 for the first time, otherwise pass the sentTime of the earliest message to fetch the latest count messages.