migrateChat method
Migrate Chat.
ID: a2875319.
Implementation
Future<Result<UpdatesBase>> migrateChat({required int chatId}) async {
// Preparing the request.
final request = MessagesMigrateChat(chatId: chatId);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}