exportChatlistInvite method
Future<Result<ChatlistsExportedChatlistInviteBase> >
exportChatlistInvite({
- required InputChatlistBase chatlist,
- required String title,
- required List<
InputPeerBase> peers,
Export Chatlist Invite.
ID: 8472478e
.
Implementation
Future<Result<ChatlistsExportedChatlistInviteBase>> exportChatlistInvite({
required InputChatlistBase chatlist,
required String title,
required List<InputPeerBase> peers,
}) async {
// Preparing the request.
final request = ChatlistsExportChatlistInvite(
chatlist: chatlist,
title: title,
peers: peers,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<ChatlistsExportedChatlistInviteBase>();
}