text: from pyrogram.types import (
      CallbackQuery,
      InlineKeyboardButton,
      InlineKeyboardMarkup,
      InputMediaPhoto,
      Message,
  )
  
  def play_markup(videoid, user_id):
      buttons= [
              [
                  InlineKeyboardButton(text="❰𝙂𝙧𝙤𝙪𝙥❱", url=f"https://t.me/World_friends_chatting_group"),      
                  InlineKeyboardButton(text="❰𝙊𝙬𝙣𝙚𝙧❱", url=f"https://t.me/ARMY0071")],
                 [InlineKeyboardButton("❰𝙋𝙐𝘽𝙂 𝙐𝙎𝙀𝙍'𝙎 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀❱", url=f"https://t.me/FriendlyHacks")]
          ]
      return buttons 
  
  
  def others_markup(videoid, user_id):
      buttons= [
              [
                  InlineKeyboardButton(text="▶️", callback_data=f'resumevc2'),
                  InlineKeyboardButton(text="⏸️", callback_data=f'pausevc2'),
                  InlineKeyboardButton(text="⏭️", callback_data=f'skipvc2'),
                  InlineKeyboardButton(text="⏹️", callback_data=f'stopvc2')
              ],
              [
                  InlineKeyboardButton(text="❰✚ 𝙔𝙤𝙪𝙧 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data=f'playlist {videoid}|{user_id}'),
                  InlineKeyboardButton(text="❰✚ 𝙂𝙧𝙤𝙪𝙥 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data=f'group_playlist {videoid}|{user_id}')
              ],
              [
                  InlineKeyboardButton(text="❰𝙂𝙧𝙤𝙪𝙥❱", url=f"https://t.me/World_friends_chatting_group"),
                  InlineKeyboardButton(text="❰𝙊𝙬𝙣𝙚𝙧❱", url=f"https://t.me/ARMY0071")
              ],
              [
                  InlineKeyboardButton(text="❰🔙 𝙂𝙤 𝘽𝙖𝙘𝙠❱", callback_data=f'goback {videoid}|{user_id}')
              ],
          ]
      return buttons
  
  
  play_keyboard = InlineKeyboardMarkup(
              [
                  [
                      InlineKeyboardButton(
                          "▶️", callback_data="resumevc"
                      ),
                      InlineKeyboardButton(
                          "⏸️", callback_data="pausevc"
                      ),
                      InlineKeyboardButton(
                          "⏭️", callback_data="skipvc"
                      ),
                      InlineKeyboardButton(
                          "⏹️", callback_data="stopvc"
                      )
                  ],
                  [
                      InlineKeyboardButton(
                          "🗑 Close", callback_data="close"
                      )
                  ]    
              ]
          )
  
  def audio_markup(videoid, user_id):
      buttons= [
              [
                  InlineKeyboardButton(text="▶️", callback_data=f'resumevc2'),
                  InlineKeyboardButton(text="⏸️", callback_data=f'pausevc2'),
                  InlineKeyboardButton(text="⏭️", callback_data=f'skipvc2'),
                  InlineKeyboardButton(text="⏹️", callback_data=f'stopvc2')
              ],
              [
                  InlineKeyboardButton(text="❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="close2")              
              ],
          ]
      return buttons 
  
  
  def search_markup(ID1, ID2, ID3, ID4, ID5, duration1, duration2, duration3, duration4, duration5, user_id, query):
      buttons= [
              [
                  InlineKeyboardButton(text="1️⃣", callback_data=f'yukki2 {ID1}|{duration1}|{user_id}'),
                  InlineKeyboardButton(text="2️⃣", callback_data=f'yukki2 {ID2}|{duration2}|{user_id}'),
                  InlineKeyboardButton(text="3️⃣", callback_data=f'yukki2 {ID3}|{duration3}|{user_id}')
              ],
              [ 
                  InlineKeyboardButton(text="4️⃣", callback_data=f'yukki2 {ID4}|{duration4}|{user_id}'),
                  InlineKeyboardButton(text="5️⃣", callback_data=f'yukki2 {ID5}|{duration5}|{user_id}')
              ],
              [
                  InlineKeyboardButton(text="➡", callback_data=f'popat 1|{query}|{user_id}')
              ],
              [
                  InlineKeyboardButton(text="❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data=f"ppcl2 smex|{user_id}")
              ],
          ]
      return buttons   
  
  
  def search_markup2(ID6, ID7, ID8, ID9, ID10, duration6, duration7, duration8, duration9, duration10 ,user_id, query):
      buttons= [
              [
                  InlineKeyboardButton(text="6️⃣", callback_data=f'yukki2 {ID6}|{duration6}|{user_id}'),
                  InlineKeyboardButton(text="7️⃣", callback_data=f'yukki2 {ID7}|{duration7}|{user_id}'),
                  InlineKeyboardButton(text="8️⃣", callback_data=f'yukki2 {ID8}|{duration8}|{user_id}')
              ],
              [ 
                  InlineKeyboardButton(text="9️⃣", callback_data=f'yukki2 {ID9}|{duration9}|{user_id}'),
                  InlineKeyboardButton(text="🔟", callback_data=f'yukki2 {ID10}|{duration10}|{user_id}')
              ],
              [
                  InlineKeyboardButton(text="⬅", callback_data=f'popat 2|{query}|{user_id}')
              ],
              [
                  InlineKeyboardButton(text="❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data=f"ppcl2 smex|{user_id}")
              ],
          ]
      return buttons 
  
  
  def personal_markup(link):
      buttons= [
              [ 
                  InlineKeyboardButton(text="❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data=f'cls')
              ],
          ]
      return buttons
  
  
  start_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "❰📚 𝗖𝗼𝗺𝗺𝗮𝗻𝗱𝘀❱", url="https://telegra.ph/EHSAAS-MUSIC-COMMAND-12-25"
                      )
                  ],
                  [
                      InlineKeyboardButton(
                          "❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="close2"
                      )
                  ]    
              ]
          )
   
     
  confirm_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "✅ Yes", callback_data="cbdel"
                      ),
                      InlineKeyboardButton(
                          "❌ No", callback_data="close2"
                      )
                  ]    
              ]
          )
  
  
  confirm_group_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "✅ Yes", callback_data="cbgroupdel"
                      ),
                      InlineKeyboardButton(
                          "❌ No", callback_data="close2"
                      )
                  ]    
              ]
          )
  
  
  close_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="close2"
                      )
                  ]    
              ]
          )
  
  
  none_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="cls"
                      )
                  ]    
              ]
          )
  
  
  play_list_keyboard = InlineKeyboardMarkup( 
              [
                  [
                      InlineKeyboardButton(
                          "❰𝙋𝙚𝙧𝙨𝙤𝙣𝙖𝙡 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data="P_list"
                      )
                  ],
                  [
                      InlineKeyboardButton(
                          "❰𝙂𝙧𝙤𝙪𝙥'𝙨 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data="G_list"
                      )
                  ],
                  [
                      InlineKeyboardButton(
                          "❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="close2"
                      )
                  ]
              ]
          )
  
  
  def playlist_markup(user_name, user_id):
      buttons= [
              [
                  InlineKeyboardButton(text=f"❰𝙂𝙧𝙤𝙪𝙥'𝙨 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data=f'play_playlist {user_id}|group')
              ],
              [
                  InlineKeyboardButton(text=f"❰{user_name[:8]}'s 𝙋𝙡𝙖𝙮𝙡𝙞𝙨𝙩❱", callback_data=f'play_playlist {user_id}|personal')
              ],
              [
                  InlineKeyboardButton(text="❰🗑 𝗖𝗹𝗼𝘀𝗲❱", callback_data="close2")              
              ],
          ]
      return buttons
  