<?php

namespace App\Api\WechatHandlers;

use EasyWeChat\Kernel\Contracts\EventHandlerInterface;

class FileMessageHandler implements EventHandlerInterface
{

    public function handle($payload = null)
    {

        $payload->ToUserName;
        $payload->FromUserName;
        $payload->CreateTime;
        $payload->MsgId;

        $payload->Title;
        $payload->Description;
        $payload->FileKey;
        $payload->FileMd5;
        $payload->FileTotalLen;

        return '文件消息';
    }

}
