refactoring, add examples, move to library()
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#include "tgbot.h"
|
||||
|
||||
#define WELCOME_MSG "Hi there! This bot is coded in C."
|
||||
|
||||
void parse_command(tgbot *bot, tgbot_update *update);
|
||||
void sighandler(int signum);
|
||||
void callback_parser(tgbot *bot, tgbot_cbquery *query);
|
||||
|
||||
#endif // MAIN_H
|
||||
@@ -33,7 +33,6 @@ struct tgbot_me_t {
|
||||
};
|
||||
typedef struct tgbot_me_t tgbot_me;
|
||||
|
||||
/* TODO: implement variable length string */
|
||||
/**
|
||||
* A structure to represent Update object
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user