2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme on layer 202.

This commit is contained in:
John Preston
2025-03-26 23:21:42 +05:00
parent 33a15e69bb
commit 0e46a4402a
11 changed files with 40 additions and 22 deletions

View File

@@ -467,8 +467,8 @@ Call ComputeCallData(const MTPDmessageActionPhoneCall &call) {
return CallFinishReason::Hangup;
}, [](const MTPDphoneCallDiscardReasonMissed &) {
return CallFinishReason::Missed;
}, [](const MTPDphoneCallDiscardReasonAllowGroupCall &) {
return CallFinishReason::AllowGroupCall;
}, [](const MTPDphoneCallDiscardReasonMigrateConferenceCall &) {
return CallFinishReason::MigrateConferenceCall;
});
Unexpected("Call reason type.");
}

View File

@@ -46,7 +46,7 @@ enum class CallFinishReason : char {
Busy,
Disconnected,
Hangup,
AllowGroupCall,
MigrateConferenceCall,
};
struct SharedContact final {