getHistory<T> method

Future<ApiResponse<T>> getHistory<T>(
  1. Map<String, Object> params
)

Returns message history for the specified user or group chat.

Implementation

Future<ApiResponse<T>> getHistory<T>(Map<String, Object> params) =>
    _api.request<T>('messages.getHistory', params);