Remove chatActionSpeakingInCall.
This commit is contained in:
parent
91d4b57713
commit
1c5db9f809
@ -1945,8 +1945,6 @@ chatActionStartPlayingGame = ChatAction;
|
||||
chatActionRecordingVideoNote = ChatAction;
|
||||
//@description The user is uploading a video note @progress Upload progress, as a percentage
|
||||
chatActionUploadingVideoNote progress:int32 = ChatAction;
|
||||
//@description The user is speaking in a call; supergroups only
|
||||
chatActionSpeakingInCall = ChatAction;
|
||||
//@description The user has cancelled the previous action
|
||||
chatActionCancel = ChatAction;
|
||||
|
||||
|
Binary file not shown.
@ -80,9 +80,6 @@ DialogAction::DialogAction(tl_object_ptr<td_api::ChatAction> &&action) {
|
||||
init(Type::UploadingVideoNote, uploading_action->progress_);
|
||||
break;
|
||||
}
|
||||
case td_api::chatActionSpeakingInCall::ID:
|
||||
init(Type::SpeakingInVoiceChat);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
@ -250,7 +247,6 @@ tl_object_ptr<td_api::ChatAction> DialogAction::get_chat_action_object() const {
|
||||
case Type::UploadingVideoNote:
|
||||
return td_api::make_object<td_api::chatActionUploadingVideoNote>(progress_);
|
||||
case Type::SpeakingInVoiceChat:
|
||||
return td_api::make_object<td_api::chatActionSpeakingInCall>();
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return td_api::make_object<td_api::chatActionCancel>();
|
||||
|
@ -1199,9 +1199,6 @@ class CliClient final : public Actor {
|
||||
if (action == "uvn" || action == "upload_video_note") {
|
||||
return td_api::make_object<td_api::chatActionUploadingVideoNote>(50);
|
||||
}
|
||||
if (action == "sic" || action == "speaking_in_call") {
|
||||
return td_api::make_object<td_api::chatActionSpeakingInCall>();
|
||||
}
|
||||
return td_api::make_object<td_api::chatActionTyping>();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user