Advertisement
disk6969

Untitled

Jan 5th, 2024 (edited)
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. import pyrogram
  2. old_init = pyrogram.raw.types.InputMediaUploadedDocument.__init__
  3. def new_init(*args, **kwargs):
  4. kwargs['nosound_video'] = True
  5. old_init(*args, **kwargs)
  6. pyrogram.raw.types.InputMediaUploadedDocument.__init__ = new_init
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement