Пример #1
0
 /// <inheritdoc />
 public IChatApiResponse <VoiceRecordingResponse?> SendVoiceRecordingStatus(IVoiceRecordingRequest voiceRecording,
                                                                            IResponseSettings?responseSettings = null) =>
 _connect.Post <VoiceRecordingResponse>(Resources.SendVoiceRecordingStatus, voiceRecording.Serialize(), responseSettings);
Пример #2
0
 /// <inheritdoc />
 public Task <IChatApiResponse <IVoiceRecordingResponse?> > SendVoiceRecordingStatusAsync(IVoiceRecordingRequest voiceRecording,
                                                                                          IResponseSettings?responseSettings = null) =>
 _connect.PostAsync <VoiceRecordingResponse, IVoiceRecordingResponse>(Resources.SendVoiceRecordingStatus, voiceRecording.Serialize(),
                                                                      responseSettings);