getPollChangeLogsSinceToken method

Future<PollChangeLogs> getPollChangeLogsSinceToken(
  1. String? token
)

Requests poll change logs after given token.

The token to be the reference point for the changelogs to retrieve. If the token is null, the result will be passed from the beginning.

Implementation

Future<PollChangeLogs> getPollChangeLogsSinceToken(String? token) async {
  sbLog.i(StackTrace.current, 'token: $token');

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