diff --git a/include/methods.h b/include/methods.h index a4d1e09..608ee21 100644 --- a/include/methods.h +++ b/include/methods.h @@ -13,10 +13,12 @@ tgbot_rc tgbot_request(const char *url, struct memory_buffer **mb, json_object * /* Methods */ tgbot_rc tgbot_get_me(tgbot_s *bot, tgbot_me_s *me); -tgbot_rc tgbot_send_message(tgbot_s *bot, int64_t chat_id, const char *text, const char *parse_mode, tgbot_inlinekeyboard_s *reply_markup); +tgbot_rc tgbot_send_message(tgbot_s *bot, int64_t chat_id, const char *text, const char *parse_mode, + tgbot_inlinekeyboard_s *reply_markup); tgbot_rc tgbot_send_dice(tgbot_s *bot, int64_t chat_id, const char *emoji); /* Updating Methods */ -tgbot_rc tgbot_edit_message_text(tgbot_s *bot, int64_t chat_id, long message_id, const char *text, tgbot_inlinekeyboard_s *keyboard); +tgbot_rc tgbot_edit_message_text(tgbot_s *bot, int64_t chat_id, long message_id, const char *text, + tgbot_inlinekeyboard_s *keyboard); #endif diff --git a/include/tgbot.h b/include/tgbot.h index 68daf7a..be554ff 100644 --- a/include/tgbot.h +++ b/include/tgbot.h @@ -2,8 +2,6 @@ #define TGBOT_MAIN_H #include "common.h" -#include "methods.h" -#include "types.h" /** * @brief Create a new Bot object. diff --git a/include/types.h b/include/types.h index ea1d428..2de0b14 100644 --- a/include/types.h +++ b/include/types.h @@ -47,7 +47,8 @@ tgbot_inlinekeyboard_s *tgbot_inlinekb_new(size_t rows, size_t columns); * * @return TGBOT_OK on success. */ -tgbot_rc tgbot_inlinekb_button(tgbot_inlinekeyboard_s *keyboard, size_t row, size_t column, const char *text, const char *url, const char *callback_data); +tgbot_rc tgbot_inlinekb_button(tgbot_inlinekeyboard_s *keyboard, size_t row, size_t column, const char *text, + const char *url, const char *callback_data); /** * @brief Returns a pointer to the keyboard's button.