returnmattata.send_reply(message,'It appears I don\'t have the required permissions required in order to unmute that user. Please amend this and try again!')
localsuccess=mattata.restrict_chat_member(message.chat.id,user_object.id,os.time(),default_permissions)-- attempt to unmute the user in the group, restoring the user to the original group permissions
ifnotsuccessthen
returnmattata.send_reply(message,'I couldn\'t unmute that user in this group, because it appears I don\'t have permission to!')