wrapper.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:wbot 作者: PY-Learning 项目源码 文件源码
def send_file(file_dir, to_user_name=None, media_id=None):
        ''' send attachment
            for options
                - file_dir: dir for file ready for upload
                - media_id: media_id for file.
                    - if set, file will not be uploaded twice
                - to_user_name: 'user_name' key of friend dict
            it is defined in components/messages.py
        '''
        return itchat.send_file(file_dir, to_user_name)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号