|
const string | SERVICE_NAME = "mail" |
|
◆ AcceptMany()
Accept all the attachments from a set of mail messages.
- Parameters
-
manyRequest | Request structure containing numeric message IDs. |
◆ GetMail()
Promise< ListMailResponse > Beamable.Common.Api.Mail.AbsMailApi.GetMail |
( |
string |
category, |
|
|
long |
startId = 0 , |
|
|
long |
limit = 100 |
|
) |
| |
|
inline |
Get the latest mail for a player
- Parameters
-
category | The category of mail can be any string |
startId | An offset can be used to page through the players new mail |
limit | Limit how many messages can appear in the resulting ListMailResponse.result field. |
- Returns
- A Promise containing a ListMailResponse with the player's latest mail.
Implements Beamable.Common.Api.Mail.IMailApi.
◆ SearchMail()
◆ SendMail()
Must be sent from an admin user or a microservice. Send mail to one or many users.
- Parameters
-
- Returns
- A Promise<T> representing the network request.
Implements Beamable.Common.Api.Mail.IMailApi.
◆ Update()
Must be sent from an admin user or a microservice. Update a mailing after it has been sent.
- Parameters
-
- Returns
- A Promise<T> representing the network request.
Implements Beamable.Common.Api.Mail.IMailApi.
The documentation for this class was generated from the following file:
- com.beamable/Common/Runtime/Api/Mail/AbsMailApi.cs