Skip to content

Commit

Permalink
add join in group state
Browse files Browse the repository at this point in the history
  • Loading branch information
DoveChen committed Jun 6, 2022
1 parent 1396a00 commit 9f604f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dataStructure/ExternalContactGroupChatMemberList.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* @property array $invitor 邀请者。目前仅当是由本企业内部成员邀请入群时会返回该值
* @property string $group_nickname 在群里的昵称
* @property string $name 名字。仅当 need_name = 1 时返回 如果是微信用户,则返回其在微信中设置的名字 如果是企业微信联系人,则返回其设置对外展示的别名或实名
* @property string $state 入群渠道标识
*
* @package dovechen\yii2\weWork\src\dataStructure
*/
Expand All @@ -34,6 +35,7 @@ public static function parseFromArray ($arr)
$memberList->unionid = Utils::arrayGet($arr, 'unionid');
$memberList->join_time = Utils::arrayGet($arr, 'join_time');
$memberList->join_scene = Utils::arrayGet($arr, 'join_scene');
$memberList->state = Utils::arrayGet($arr, 'state');

$memberList->invitor = [];
$invitor = Utils::arrayGet($arr, 'invitor');
Expand Down

0 comments on commit 9f604f2

Please sign in to comment.