Пример #1
0
 void SendCustomInvite(string channelId)
 {
     _console.LogD(string.Format("Sending custom {0} invite...", channelId));
     Invites.Send(CustomInviteContent, channelId,
                  () => _console.LogD("Successfully sent invite"),
                  () => _console.LogW("Sending invite cancelled"),
                  error => _console.LogE(string.Format("Failed to send invite: {0}", error.Message))
                  );
 }