groupID = $groupID; parent::setAllDataclass($vk_api->copyAllDataclass()); } /** * @param $method * @param $params * @return array */ protected function editRequestParams($method, $params) { // if ($method == 'messages.send' or $method == 'photos.saveMessagesPhoto') $params['group_id'] = $this->groupID; return [$method, $params]; } }