refactoring, add examples, move to library()

This commit is contained in:
2025-05-21 01:30:48 +02:00
parent c2955b7b1b
commit af71544585
11 changed files with 157 additions and 43 deletions

View File

@@ -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

View File

@@ -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
*/