Пример #1
0
 public void SendVoice(ArraySegment <byte> buffer, bool whisper = false)
 {
     Owner.SendVoice(
         buffer,
         target: whisper ? SpeechTarget.WhisperToChannel : SpeechTarget.Normal,
         targetId: Id
         );
 }
Пример #2
0
 public void SendVoice(ArraySegment <byte> buffer, SpeechTarget target = SpeechTarget.Normal)
 {
     Owner.SendVoice(
         buffer,
         target: target,
         targetId: Id
         );
 }