MessagingApi
Import
Import
Constructors
Constructor
-
Parameters
-
Optional configuration: Configuration
-
basePath: string = ...
-
axios: AxiosInstance = ...
Returns MessagingApi
-
Methods
Message
-
Parameters
-
Optional messageRequest: MessageRequest
-
Optional options: AxiosRequestConfig<any>
Returns Promise<AxiosResponse<void, any>>
-
Allows a user to send a message with a custom payload to another user. The Relationships Service will only allow a user to send a message to a user that they have an active FRIEND relationship with. The content of the payload can be customized entirely by the client. It is up to the client to determine how to best handle the message payload. For example, if the message payload contains a lobby ID, the client could show an Accept Invite toast. If the message contains a trade request, the client could enter a trading interface.
Send a message to a user.
{RequiredError}
MessagingApi