':param media_type: åªäœæä»¶ç±»åïŒåå«æåŸçïŒimageïŒãè¯­é³ïŒvoiceïŒåçŒ©ç¥åŸïŒthumbïŒ
:param media_file: èŠäžäŒ çæä»¶ïŒäžäžª File-object
:return: è¿åç JSON æ°æ®å'

def upload_permanent_media(self, media_type, media_file):

    return self.post(url='https://api.weixin.qq.com/cgi-bin/material/add_material', params={'access_token': self.token, 'type': media_type}, files={'media': media_file})
