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:
@@ -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.");
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ enum class CallFinishReason : char {
|
||||
Busy,
|
||||
Disconnected,
|
||||
Hangup,
|
||||
AllowGroupCall,
|
||||
MigrateConferenceCall,
|
||||
};
|
||||
|
||||
struct SharedContact final {
|
||||
|
Reference in New Issue
Block a user