2020-07-26 23:44:51 +02:00
|
|
|
#ifndef _CALL_H
|
|
|
|
#define _CALL_H
|
|
|
|
|
|
|
|
#include "transceiver.h"
|
|
|
|
#include "account-data.h"
|
|
|
|
|
|
|
|
bool initiateCall(int32_t userId, TdAccountData &account, TdTransceiver &transceiver);
|
|
|
|
void updateCall(const td::td_api::call &call, TdAccountData &account, TdTransceiver &transceiver);
|
2020-07-27 17:31:27 +02:00
|
|
|
void discardCurrentCall(TdAccountData &account, TdTransceiver &transceiver);
|
2020-07-28 16:09:19 +02:00
|
|
|
void showCallMessage(const td::td_api::chat &chat, const TgMessageInfo &message,
|
|
|
|
const td::td_api::messageCall &callEnded, TdAccountData &account);
|
2020-07-26 23:44:51 +02:00
|
|
|
|
|
|
|
#endif
|