Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Muhandis committed Mar 24, 2019
1 parent f54024f commit 116d900
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 2 additions & 1 deletion fptelegram.pas
Expand Up @@ -4,10 +4,11 @@

unit fptelegram;

{$warn 5023 off : no warning about unused units}
interface

uses
tgsendertypes, tgtypes, longpoll_mthread, tgstatlog, tgutils;
tgsendertypes, tgtypes, tgstatlog, tgutils;

implementation

Expand Down
13 changes: 1 addition & 12 deletions tgsendertypes.pas
Expand Up @@ -427,7 +427,7 @@ TTelegramSender = class
function CurrentIsBanned: Boolean; overload;

function answerCallbackQuery(const CallbackQueryId: String; const Text: String = '';
ShowAlert: Boolean=False; const Url: String = ''; CacheTime: Integer = 0): Boolean;
ShowAlert: Boolean=False; const Url: String = ''; CacheTime: Integer = 0): Boolean; virtual;
function answerPreCheckoutQuery(const PreCheckoutQueryID: String; Ok: Boolean;
AnErrorMessage: String = ''): Boolean;
function editMessageReplyMarkup(chat_id: Int64 = 0; message_id: Int64 = 0;
Expand Down Expand Up @@ -2114,17 +2114,6 @@ constructor TTelegramSender.Create(const AToken: String);
FToken:=AToken;
FRequestWhenAnswer:=False;
FProcessUpdate:=True;
FCurrentChatId:=0;
FCurrentUser:=nil;
FCurrentMessage:=nil;
FUpdate:=nil;
FUpdateLogger:=nil;
FJSONResponse:=nil;
FBotUser:=nil;
FFileObj:=nil;
FLanguage:='';
FLogger:=nil;
BotUsername:='';
FCommandHandlers:=TCommandHandlersMap.create;
FChannelCommandHandlers:=TCommandHandlersMap.create;
FLogDebug:=False;
Expand Down

0 comments on commit 116d900

Please sign in to comment.