$message
$message : \EasyWeChat\Message\AbstractMessage;
Message to send.
Class MessageBuilder.
$staff : \EasyWeChat\Staff\Staff
Staff instance.
__construct(\EasyWeChat\Staff\Staff $staff)
MessageBuilder constructor.
\EasyWeChat\Staff\Staff | $staff |
message(string|\EasyWeChat\Message\AbstractMessage $message) : \EasyWeChat\Staff\MessageBuilder
Set message to send.
string|\EasyWeChat\Message\AbstractMessage | $message |
by(string $account) : \EasyWeChat\Staff\MessageBuilder
Set staff account to send message.
string | $account |
to(string $openId) : \EasyWeChat\Staff\MessageBuilder
Set target user open id.
string | $openId |