randydev commited on
Commit
eb32755
·
verified ·
1 Parent(s): 101055c

Upload callback.py

Browse files
Files changed (1) hide show
  1. akn/manage/callback.py +91 -14
akn/manage/callback.py CHANGED
@@ -57,6 +57,7 @@ Here’s what you can do with our bot:
57
  - **YouTube Tools**: Download videos, audio, and more.
58
  - **Meta AI**: Access advanced AI-powered features.
59
  - **Gemini AI**: Explore cutting-edge AI capabilities.
 
60
 
61
  🔧 **Need Custom Features?**
62
  If you have specific requirements, feel free to reach out to our support team. We’re here to help!
@@ -239,6 +240,16 @@ async def cb_customiz_bot(client, query):
239
  callback_data="tutorial_yt"
240
  ),
241
  ],
 
 
 
 
 
 
 
 
 
 
242
  [
243
  InlineKeyboardButton(
244
  "🔙 Back",
@@ -857,7 +868,7 @@ async def callback_next(client, cb: CallbackQuery):
857
  pro_text = """
858
  Welcome to AKN-Userbot
859
 
860
- - no answer
861
  """
862
  await cb.edit_message_text(
863
  pro_text,
@@ -902,7 +913,7 @@ async def callback_back(client, callback_query: CallbackQuery):
902
  welcome_dg = """
903
  Welcome to Akn-userbot
904
 
905
- - no answer
906
  """
907
  med = InputMediaPhoto(
908
  media="https://telegra.ph//file/586a3867c3e16ca6bb4fa.jpg",
@@ -921,8 +932,6 @@ async def tutor_gemini_clone(_, cb: CallbackQuery):
921
 
922
  • <b>Gemini Bot</b>
923
 
924
- - Users Bot: {users_bot}
925
-
926
  - original : @chatbot_online_bot
927
 
928
  It only takes a few minutes to activate your own unique bot with 0 coding:
@@ -934,8 +943,6 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
934
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
935
 
936
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
937
-
938
- • Developer by @xtdevs
939
  """
940
  keyboard_back = InlineKeyboardMarkup(
941
  [
@@ -977,8 +984,6 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
977
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
978
 
979
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
980
-
981
- • Developer by @xtdevs
982
  """
983
  keyboard_back = InlineKeyboardMarkup(
984
  [
@@ -1020,8 +1025,6 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1020
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1021
 
1022
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
1023
-
1024
- • Developer by @xtdevs
1025
  """
1026
  keyboard_back = InlineKeyboardMarkup(
1027
  [
@@ -1063,8 +1066,6 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1063
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1064
 
1065
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
1066
-
1067
- • Developer by @xtdevs
1068
  """
1069
  keyboard_back = InlineKeyboardMarkup(
1070
  [
@@ -1094,6 +1095,45 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1094
  reply_markup=keyboard_back
1095
  )
1096
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1097
  @ren.on_callback_query(filters.regex("^tutorial_yt$"))
1098
  async def tutor_yt(_, cb: CallbackQuery):
1099
  check_tutorial = """
@@ -1110,8 +1150,6 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1110
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1111
 
1112
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
1113
-
1114
- • Developer by @xtdevs
1115
  """
1116
  keyboard_back = InlineKeyboardMarkup(
1117
  [
@@ -1134,3 +1172,42 @@ It only takes a few minutes to activate your own unique bot with 0 coding:
1134
  disable_web_page_preview=True,
1135
  reply_markup=keyboard_back
1136
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  - **YouTube Tools**: Download videos, audio, and more.
58
  - **Meta AI**: Access advanced AI-powered features.
59
  - **Gemini AI**: Explore cutting-edge AI capabilities.
60
+ - **Session Pyrogram & Telethon**: Support Userbot with Pyrogram and Telethon
61
 
62
  🔧 **Need Custom Features?**
63
  If you have specific requirements, feel free to reach out to our support team. We’re here to help!
 
240
  callback_data="tutorial_yt"
241
  ),
242
  ],
243
+ [
244
+ InlineKeyboardButton(
245
+ "Session Bot",
246
+ callback_data="tutorial_sesikntl"
247
+ ),
248
+ InlineKeyboardButton(
249
+ "Captcha Bot",
250
+ callback_data="tutorial_captcha"
251
+ ),
252
+ ]
253
  [
254
  InlineKeyboardButton(
255
  "🔙 Back",
 
868
  pro_text = """
869
  Welcome to AKN-Userbot
870
 
871
+ - nothing answer here
872
  """
873
  await cb.edit_message_text(
874
  pro_text,
 
913
  welcome_dg = """
914
  Welcome to Akn-userbot
915
 
916
+ - nothing answer here
917
  """
918
  med = InputMediaPhoto(
919
  media="https://telegra.ph//file/586a3867c3e16ca6bb4fa.jpg",
 
932
 
933
  • <b>Gemini Bot</b>
934
 
 
 
935
  - original : @chatbot_online_bot
936
 
937
  It only takes a few minutes to activate your own unique bot with 0 coding:
 
943
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
944
 
945
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
 
 
946
  """
947
  keyboard_back = InlineKeyboardMarkup(
948
  [
 
984
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
985
 
986
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
 
 
987
  """
988
  keyboard_back = InlineKeyboardMarkup(
989
  [
 
1025
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1026
 
1027
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
 
 
1028
  """
1029
  keyboard_back = InlineKeyboardMarkup(
1030
  [
 
1066
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1067
 
1068
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
 
 
1069
  """
1070
  keyboard_back = InlineKeyboardMarkup(
1071
  [
 
1095
  reply_markup=keyboard_back
1096
  )
1097
 
1098
+ @ren.on_callback_query(filters.regex("^tutorial_sesikntl$"))
1099
+ async def tutor_sesikntl(_, cb: CallbackQuery):
1100
+ check_tutorial = """
1101
+ <b> Tutorial bot token clone</b>
1102
+
1103
+ <b>Session Pyrogram & Telethon Bot</b>
1104
+
1105
+ It only takes a few minutes to activate your own unique bot with 0 coding:
1106
+
1107
+ 1: Message @BotFather, use /newbot command, Set the name and username for your bot.
1108
+
1109
+ 2: Use /mybots command and choose the bot you just created. Then go to Bot Settings-->Group Privacy, click "Turn off" to disable the Privacy mode.
1110
+
1111
+ 3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1112
+
1113
+ 4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
1114
+ """
1115
+ keyboard_back = InlineKeyboardMarkup(
1116
+ [
1117
+ [
1118
+ InlineKeyboardButton(
1119
+ text="🗝️ I have got the API Token",
1120
+ callback_data="sesikntl"
1121
+ ),
1122
+ ],
1123
+ [
1124
+ InlineKeyboardButton(
1125
+ text="❌ Cancel",
1126
+ callback_data="customzie_bot"
1127
+ )
1128
+ ]
1129
+ ]
1130
+ )
1131
+ await cb.edit_message_text(
1132
+ check_tutorial,
1133
+ disable_web_page_preview=True,
1134
+ reply_markup=keyboard_back
1135
+ )
1136
+
1137
  @ren.on_callback_query(filters.regex("^tutorial_yt$"))
1138
  async def tutor_yt(_, cb: CallbackQuery):
1139
  check_tutorial = """
 
1150
  3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1151
 
1152
  4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
 
 
1153
  """
1154
  keyboard_back = InlineKeyboardMarkup(
1155
  [
 
1172
  disable_web_page_preview=True,
1173
  reply_markup=keyboard_back
1174
  )
1175
+
1176
+ @ren.on_callback_query(filters.regex("^tutorial_captcha$"))
1177
+ async def tutor_captcha(_, cb: CallbackQuery):
1178
+ check_tutorial = """
1179
+ <b> Tutorial bot token clone</b>
1180
+
1181
+ <b>Approve Captcha Bot</b>
1182
+
1183
+ It only takes a few minutes to activate your own unique bot with 0 coding:
1184
+
1185
+ 1: Message @BotFather, use /newbot command, Set the name and username for your bot.
1186
+
1187
+ 2: Use /mybots command and choose the bot you just created. Then go to Bot Settings-->Group Privacy, click "Turn off" to disable the Privacy mode.
1188
+
1189
+ 3: After you turn on the privacy mode, Back to Settings-->Back to Bot, click "API Token" and copy it.
1190
+
1191
+ 4: Back to @aknuserbot, click the button below then paste the I have got the API Token.
1192
+ """
1193
+ keyboard_back = InlineKeyboardMarkup(
1194
+ [
1195
+ [
1196
+ InlineKeyboardButton(
1197
+ text="🗝️ I have got the API Token",
1198
+ callback_data="captcha_bot"
1199
+ ),
1200
+ ],
1201
+ [
1202
+ InlineKeyboardButton(
1203
+ text="❌ Cancel",
1204
+ callback_data="customzie_bot"
1205
+ )
1206
+ ]
1207
+ ]
1208
+ )
1209
+ await cb.edit_message_text(
1210
+ check_tutorial,
1211
+ disable_web_page_preview=True,
1212
+ reply_markup=keyboard_back
1213
+ )