BinaryONe commited on
Commit
a5b8b1b
·
1 Parent(s): c96bd11

changes In Upload

Browse files
FileStream/bot/plugins/FileHandlers/callback.py CHANGED
@@ -142,7 +142,7 @@ async def cb_data(bot: Client, update: CallbackQuery):
142
  new_options = ["Yes", "No", "Maybe"]
143
  poll = raw.types.InputMediaPoll(
144
  poll=raw.types.Poll(
145
- id=client.rnd_id(),
146
  question=new_question,
147
  answers=[raw.types.PollAnswer(text=text, option=bytes([i])) for i, text in enumerate(new_options)]
148
  )
 
142
  new_options = ["Yes", "No", "Maybe"]
143
  poll = raw.types.InputMediaPoll(
144
  poll=raw.types.Poll(
145
+ id=FileStream.rnd_id(),
146
  question=new_question,
147
  answers=[raw.types.PollAnswer(text=text, option=bytes([i])) for i, text in enumerate(new_options)]
148
  )