blob: a37df6ae58151652f702117602f0ddb825bbb602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _MUTEBOT_TDUTILS_H
#define _MUTEBOT_TDUTILS_H
#include <td/telegram/td_c_client.h>
extern long long my_id;
extern bool closing;
int td_init();
void td_free();
void td_loop();
void tg_close();
int td_send(void *func, void (*cb)(bool, struct TdObject *, struct TdError *, void *), void *cb_arg);
void fetal_cb(bool successful, struct TdObject *result, struct TdError *error, void *cb_arg);
int post_auth();
#endif /* _MUTEBOT_TDUTILS_H */
|