Skip to content

Commit 8cdce5d

Browse files
committed
clean the code
1 parent 0ca1d1d commit 8cdce5d

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

bot_ex/tgbot.pas

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -709,27 +709,6 @@ procedure TTelegramBot.TlgrmFeedback(ASender: TObject; const ACommand: String;
709709
end;
710710
end;
711711

712-
//procedure TTelegramBot.TlgrmRate(ASender: TObject; const ACommand: String;
713-
// AMessage: TTelegramMessageObj);
714-
//var
715-
// ReplyMarkup: TReplyMarkup;
716-
// ATxt: String;
717-
//begin
718-
// ReplyMarkup:=TReplyMarkup.Create;
719-
// try
720-
// { You must assign BotUsername before Create inline KeyboardRate for forming rate url for your bot
721-
// except if FUsername already assinged (getMe or callbackquery before is called, for example) }
722-
// ReplyMarkup.InlineKeyBoard:=CreateInlineKeyboardRate;
723-
// RequestWhenAnswer:=True;
724-
// ATxt:=str_RateText;
725-
// if Assigned(FOnRate) then
726-
// FOnRate(ATxt, ReplyMarkup);
727-
// sendMessage(ATxt, pmMarkdown, True, ReplyMarkup);
728-
// finally
729-
// ReplyMarkup.Free;
730-
// end;
731-
//end;
732-
733712
procedure TTelegramBot.TlgrmStatHandler(ASender: TObject;
734713
const ACommand: String; AMessage: TTelegramMessageObj);
735714
var

examples/DesignTime/mainform.lfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ object Form1: TForm1
77
ClientHeight = 552
88
ClientWidth = 415
99
DesignTimePPI = 120
10-
LCLVersion = '3.6.0.0'
10+
LCLVersion = '3.8.0.0'
1111
object GroupBox1: TGroupBox
1212
Left = 16
1313
Height = 184

fptgbot_ex.lpk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</Item>
3939
</RequiredPkgs>
4040
<UsageOptions>
41-
<UnitPath Value="$(PkgOutDir)"/>
41+
<UnitPath Value="$(PkgOutDir);$(PkgOutDir)\bot_ex"/>
4242
</UsageOptions>
4343
<PublishOptions>
4444
<Version Value="2"/>

0 commit comments

Comments
 (0)