You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2ca4598
Browse filesBrowse the repository at this point in the historyBrowse files
@@ -184,6 +187,176 @@ Name | Type | Description | Notes
184
187
185
188
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
186
189
190
+
# **invite_user**
191
+
> Notification invite_user(user_id)
192
+
193
+
Invite User
194
+
195
+
Sends an invite to a user. Returns the Notification of type `invite` that was sent.
196
+
197
+
### Example
198
+
199
+
* Api Key Authentication (apiKeyCookie):
200
+
* Api Key Authentication (authCookie):
201
+
```python
202
+
import time
203
+
import vrchatapi
204
+
from vrchatapi.api import invite_api
205
+
from vrchatapi.model.notification import Notification
206
+
from vrchatapi.model.inline_response400 import InlineResponse400
207
+
from pprint import pprint
208
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
209
+
# See configuration.py for a list of all supported configuration parameters.
210
+
configuration = vrchatapi.Configuration(
211
+
host="https://api.vrchat.cloud/api/1"
212
+
)
213
+
214
+
# The client must configure the authentication and authorization parameters
215
+
# in accordance with the API server security policy.
216
+
# Examples for each auth method are provided below, use the example that
**200** | Returns a single Notifcation object. | - |
271
+
**403** | Error response when trying to invite someome whom you are not friends with. | - |
272
+
273
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
274
+
275
+
# **request_invite**
276
+
> Notification request_invite(user_id)
277
+
278
+
Request Invite
279
+
280
+
Requests an invite from a user. Returns the Notification of type `requestInvite` that was sent.
281
+
282
+
### Example
283
+
284
+
* Api Key Authentication (apiKeyCookie):
285
+
* Api Key Authentication (authCookie):
286
+
```python
287
+
import time
288
+
import vrchatapi
289
+
from vrchatapi.api import invite_api
290
+
from vrchatapi.model.notification import Notification
291
+
from vrchatapi.model.inline_response400 import InlineResponse400
292
+
from pprint import pprint
293
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
294
+
# See configuration.py for a list of all supported configuration parameters.
295
+
configuration = vrchatapi.Configuration(
296
+
host="https://api.vrchat.cloud/api/1"
297
+
)
298
+
299
+
# The client must configure the authentication and authorization parameters
300
+
# in accordance with the API server security policy.
301
+
# Examples for each auth method are provided below, use the example that
**200** | Returns a single Notifcation object. | - |
356
+
**403** | Error response when trying to invite someome whom you are not friends with. | - |
357
+
358
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -273,6 +446,91 @@ Name | Type | Description | Notes
273
446
274
447
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
275
448
449
+
# **respond_invite**
450
+
> Notification respond_invite(notification_id)
451
+
452
+
Respond Invite
453
+
454
+
Sends a world invite to a user.
455
+
456
+
### Example
457
+
458
+
* Api Key Authentication (apiKeyCookie):
459
+
* Api Key Authentication (authCookie):
460
+
```python
461
+
import time
462
+
import vrchatapi
463
+
from vrchatapi.api import invite_api
464
+
from vrchatapi.model.notification import Notification
465
+
from vrchatapi.model.inline_response400 import InlineResponse400
466
+
from pprint import pprint
467
+
# Defining the host is optional and defaults to https://api.vrchat.cloud/api/1
468
+
# See configuration.py for a list of all supported configuration parameters.
469
+
configuration = vrchatapi.Configuration(
470
+
host="https://api.vrchat.cloud/api/1"
471
+
)
472
+
473
+
# The client must configure the authentication and authorization parameters
474
+
# in accordance with the API server security policy.
475
+
# Examples for each auth method are provided below, use the example that
**200** | Returns a single Notifcation object. | - |
530
+
**400** | Error response when trying to respond to an invite and something went wrong. | - |
531
+
532
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**details** | **str** | **NOTICE:** This is not a JSON object, this is a json **encoded** object, meaning you have to json-de-encode to get the NotificationDetail object depending on the NotificationType. | defaults to "{}"
14
14
**seen** | **bool** | | defaults to False
15
15
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
**value** | **str** | | must be one of ["all", "broadcast", "friendRequest", "invite", "message", "RequestInvite", "votetokick", ]
7
+
**value** | **str** | | must be one of ["friendRequest", "invite", "inviteResponse", "requestInvite", "requestInviteResponse", "votetokick", ]
8
8
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9
9
10
10
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments