Gets an Invite object with given code. If the code is in cache - it will be taken from it, otherwise API will be called.
Invite
code
var inv = client.getInvite("YMgffU8");
Future<IInvite> getInvite(String code);