list method

Future<LiveChatMessageListResponse> list({
  1. required String liveChatId,
  2. String? hl,
  3. int? maxResults,
  4. String? pageToken,
  5. int? profileImageSize,
})

Lists live chat messages for a specific chat.

Implementation

Future<LiveChatMessageListResponse> list(
    {required String liveChatId,
    String? hl,
    int? maxResults,
    String? pageToken,
    int? profileImageSize}) async {
  final String part = 'snippet,authorDetails';

  return await _rest.list(_authHeader, accept, part, liveChatId,
      hl: hl,
      maxResults: maxResults,
      pageToken: pageToken,
      profileImageSize: profileImageSize);
}