Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
minor fixes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
h4child committed Apr 9, 2018
1 parent 0d7b134 commit 829f253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions include/framebot/framebot.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#define API_kickChatMember "kickChatMember\
?chat_id=%s\
&user_id=%ld\
&until_date=%s"
&until_date=%ld"

#define API_restrictChatMember "restrictChatMember\
?chat_id=%s\
Expand Down Expand Up @@ -395,8 +395,8 @@ File * get_file(Bot * bot, const char * file_id);
int file_download(Bot * bot, File * ofile, char *path);

/* kickChatMember */
bool kick_chat_member (Bot *bot, char *chat_id, long int user_id, char *until_date);
bool kick_chat_member_chat (Bot *bot, long int chat_id, long int user_id, char *until_date);
bool kick_chat_member (Bot *bot, char *chat_id, long int user_id, long int until_date);
bool kick_chat_member_chat (Bot *bot, long int chat_id, long int user_id, long int until_date);

/* unbanChatMember */
bool unban_chat_member (Bot *bot, char *chat_id, long int user_id);
Expand Down
2 changes: 1 addition & 1 deletion src/framebot.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ bool kick_chat_member (Bot *bot, char *chat_id, long int user_id, long int until
return result;
}

bool kick_chat_member_chat (Bot *bot, long int chat_id, long int user_id, char *until_date) {
bool kick_chat_member_chat (Bot *bot, long int chat_id, long int user_id, long int until_date) {
bool result;
char * cchat_id;

Expand Down

0 comments on commit 829f253

Please sign in to comment.