@@ -37,8 +37,6 @@ public function startHandle(Incoming & PrivateMessage $message): void {
3737$ welcome_button1_data = $ translate ['welcome_button1_data ' ] ?? 'https://t.me/GetAnyMessageChat ' ;
3838$ welcome_button2_txt = $ translate ['welcome_button2_txt ' ] ?? 'Updates Channel 🔔 ' ;
3939$ welcome_button2_data = $ translate ['welcome_button2_data ' ] ?? 'https://t.me/GetAnyMessageUpdates ' ;
40- $ welcome_button10_txt = $ translate ['welcome_button10_txt ' ] ?? 'Donate 🦾 ' ;
41- $ welcome_button10_data = $ translate ['welcome_button10_data ' ] ?? 'Donate ' ;
4240$ source_code_txt = $ translate ['source_code_txt ' ] ?? '⭐️ Source Code 🔗 ' ;
4341$ source_code_url = $ translate ['source_code_url ' ] ?? 'https://github.com/WizardLoop/GetAnyMessage ' ;
4442
@@ -48,7 +46,7 @@ public function startHandle(Incoming & PrivateMessage $message): void {
4846$ language_data = $ translate ['language_data ' ] ?? 'setLanguage ' ;
4947
5048$ bot_API_markup [] = [['text ' =>$ welcome_button1_txt ,'url ' =>$ welcome_button1_data ],['text ' =>$ welcome_button2_txt ,'url ' =>$ welcome_button2_data ]];
51- $ bot_API_markup [] = [['text ' =>$ welcome_button10_txt , ' callback_data ' =>$ welcome_button10_data ]];
49+ $ bot_API_markup [] = [['text ' =>$ source_code_txt , ' url ' =>$ source_code_url ]];
5250$ bot_API_markup [] = [['text ' =>$ language_button ,'callback_data ' =>$ language_data ]];
5351$ bot_API_markup = [ 'inline_keyboard ' => $ bot_API_markup ,];
5452
@@ -108,8 +106,6 @@ public function backStart(int $senderId, int $msgid): void {
108106$ welcome_button1_data = $ translate ['welcome_button1_data ' ] ?? 'https://t.me/GetAnyMessageChat ' ;
109107$ welcome_button2_txt = $ translate ['welcome_button2_txt ' ] ?? 'Updates Channel 🔔 ' ;
110108$ welcome_button2_data = $ translate ['welcome_button2_data ' ] ?? 'https://t.me/GetAnyMessageUpdates ' ;
111- $ welcome_button10_txt = $ translate ['welcome_button10_txt ' ] ?? 'Donate 🦾 ' ;
112- $ welcome_button10_data = $ translate ['welcome_button10_data ' ] ?? 'Donate ' ;
113109$ source_code_txt = $ translate ['source_code_txt ' ] ?? '⭐️ Source Code 🔗 ' ;
114110$ source_code_url = $ translate ['source_code_url ' ] ?? 'https://github.com/WizardLoop/GetAnyMessage ' ;
115111
@@ -119,7 +115,7 @@ public function backStart(int $senderId, int $msgid): void {
119115$ language_data = $ translate ['language_data ' ] ?? 'setLanguage ' ;
120116
121117$ bot_API_markup [] = [['text ' =>$ welcome_button1_txt ,'url ' =>$ welcome_button1_data ],['text ' =>$ welcome_button2_txt ,'url ' =>$ welcome_button2_data ]];
122- $ bot_API_markup [] = [['text ' =>$ welcome_button10_txt , ' callback_data ' =>$ welcome_button10_data ]];
118+ $ bot_API_markup [] = [['text ' =>$ source_code_txt , ' url ' =>$ source_code_url ]];
123119$ bot_API_markup [] = [['text ' =>$ language_button ,'callback_data ' =>$ language_data ]];
124120$ bot_API_markup = [ 'inline_keyboard ' => $ bot_API_markup ,];
125121
0 commit comments