getChats method
Get Chats.
ID: 49e9528f
.
Implementation
Future<Result<MessagesChatsBase>> getChats({
required List<int> id,
}) async {
// Preparing the request.
final request = MessagesGetChats(
id: id,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesChatsBase>();
}