getExportedChatInvite method
Future<Result<MessagesExportedChatInviteBase> >
getExportedChatInvite({
- required InputPeerBase peer,
- required String link,
Get Exported Chat Invite.
ID: 73746f5c
.
Implementation
Future<Result<MessagesExportedChatInviteBase>> getExportedChatInvite({
required InputPeerBase peer,
required String link,
}) async {
// Preparing the request.
final request = MessagesGetExportedChatInvite(
peer: peer,
link: link,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesExportedChatInviteBase>();
}