Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyrogram
- old_init = pyrogram.raw.types.InputMediaUploadedDocument.__init__
- def new_init(*args, **kwargs):
- kwargs['nosound_video'] = True
- old_init(*args, **kwargs)
- pyrogram.raw.types.InputMediaUploadedDocument.__init__ = new_init
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement