From 8881ebafcd6add7b09e5b2b5fe9a7d072136e77d Mon Sep 17 00:00:00 2001 From: SyS Date: Thu, 16 Apr 2020 11:04:09 +0530 Subject: [PATCH] const correction --- include/tgconnector.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tgconnector.inc b/include/tgconnector.inc index c718614..2341e89 100644 --- a/include/tgconnector.inc +++ b/include/tgconnector.inc @@ -30,8 +30,8 @@ enum TGUserStatus { }; //basic -native TGBot:TGConnect(const token[],proxy[]="",thread_limit=3); -native TGBot:TGConnectFromEnv(const variable[],proxy[]="",thread_limit=3); +native TGBot:TGConnect(const token[],const proxy[]="",thread_limit=3); +native TGBot:TGConnectFromEnv(const variable[],const proxy[]="",thread_limit=3); native TGSendMessage(TGBot:bot,const TGChatId:chatid[],const text[],TGMessage:reply_id=INVALID_MESSAGE_ID,TGParseMode:parse_mode=TGParseMode:-1,callback[]=""); native TGDeleteMessage(TGBot:bot,TGChatId:chatid[],TGMessage:messageid); native TGEditMessage(TGBot:bot,TGChatId:chatid[],TGMessage:messageid,text[],TGParseMode:parse_mode=TGParseMode:-1);