getPollChangeLogsSinceTimestamp method

Future<PollChangeLogs> getPollChangeLogsSinceTimestamp(
  1. int timestamp
)

Requests poll change logs after given timestamp.

timestamp to load change logs. Change logs after this timestamp will be returned.

Implementation

Future<PollChangeLogs> getPollChangeLogsSinceTimestamp(int timestamp) async {
  sbLog.i(StackTrace.current, 'timestamp: $timestamp');

  return await chat.apiClient.send<PollChangeLogs>(
    PollChangelogsGetRequest(
      chat,
      channelType: channelType,
      channelUrl: channelUrl,
      ts: timestamp,
    ),
  );
}