Пример #1
0
 /**
  * Tags traits about the group.
  *
  * @param  array $message
  *
  * @return boolean whether the group call succeeded
  */
 public static function group(array $message)
 {
     self::checkClient();
     $groupId = !empty($message["groupId"]);
     $userId = !empty($message["userId"]);
     self::assert($groupId && $userId, "Segment::group() expects userId and groupId");
     return self::$client->group($message);
 }