has_video_initially

This commit is contained in:
Casper Zandbergen
2026-01-06 13:28:31 +01:00
parent 9d7db20225
commit ee7aa989bf
9 changed files with 30 additions and 43 deletions

View File

@@ -1235,9 +1235,11 @@ uint32_t dc_init_webxdc_integration (dc_context_t* context, uint32_t c
* This needs to be a one-to-one chat.
* @param place_call_info any data that other devices receive
* in #DC_EVENT_INCOMING_CALL.
* @param has_video_initially Whether the call has video.
* This allows the recipient's client to adjust UX.
* @return ID of the system message announcing the call.
*/
uint32_t dc_place_outgoing_call (dc_context_t* context, uint32_t chat_id, const char* place_call_info);
uint32_t dc_place_outgoing_call (dc_context_t* context, uint32_t chat_id, const char* place_call_info, int has_video_initially);
/**