Lines Matching refs:params
45 $params = ['userId' => $userId, 'postBody' => $postBody];
46 $params = array_merge($params, $optParams);
47 return $this->call('create', [$params], Draft::class);
60 $params = ['userId' => $userId, 'id' => $id];
61 $params = array_merge($params, $optParams);
62 return $this->call('delete', [$params]);
77 $params = ['userId' => $userId, 'id' => $id];
78 $params = array_merge($params, $optParams);
79 return $this->call('get', [$params], Draft::class);
101 $params = ['userId' => $userId];
102 $params = array_merge($params, $optParams);
103 return $this->call('list', [$params], ListDraftsResponse::class);
117 $params = ['userId' => $userId, 'postBody' => $postBody];
118 $params = array_merge($params, $optParams);
119 return $this->call('send', [$params], Message::class);
133 $params = ['userId' => $userId, 'id' => $id, 'postBody' => $postBody];
134 $params = array_merge($params, $optParams);
135 return $this->call('update', [$params], Draft::class);