|
Beamable SDK
|


Public Member Functions | |
| Promise< SearchMailResponse > | SearchMail (SearchMailRequest request) |
| Find mail given a SearchMailRequest argument. The request contains a set of SearchMailRequestClause that can be configured to search for specific types of mail. More... | |
| Promise< ListMailResponse > | GetMail (string category, long startId=0, long limit=100) |
| Get the latest mail for a player More... | |
| Promise< EmptyResponse > | SendMail (MailSendRequest request) |
| Must be sent from an admin user or a microservice. Send mail to one or many users. More... | |
| Promise< EmptyResponse > | Update (MailUpdateRequest updates) |
| Must be sent from an admin user or a microservice. Update a mailing after it has been sent. More... | |
| Promise< EmptyResponse > | AcceptMany (MailAcceptManyRequest manyRequest) |
| Accept all the attachments from a set of mail messages. More... | |
| abstract Promise< MailQueryResponse > | GetCurrent (string scope="") |
Public Member Functions inherited from Beamable.Common.Api.ISupportsGet< MailQueryResponse > | |
| Promise< TData > | GetCurrent (string scope="") |
| Manually fetch the available data. If the server hasn't delivered a new update, this method will not return the absolute latest data unless you pass forceRefresh as true. More... | |
Static Public Attributes | |
| const string | SERVICE_NAME = "mail" |
Protected Member Functions | |
| AbsMailApi (IBeamableRequester requester, IUserContext ctx) | |
Properties | |
| IBeamableRequester | Requester [get] |
| IUserContext | Ctx [get] |
|
inline |
Accept all the attachments from a set of mail messages.
| manyRequest | Request structure containing numeric message IDs. |
|
inline |
Get the latest mail for a player
| 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. |
Implements Beamable.Common.Api.Mail.IMailApi.
|
inline |
Find mail given a SearchMailRequest argument. The request contains a set of SearchMailRequestClause that can be configured to search for specific types of mail.
| request | A SearchMailRequest to filter the player's mail with. |
Implements Beamable.Common.Api.Mail.IMailApi.
|
inline |
Must be sent from an admin user or a microservice. Send mail to one or many users.
| request | A MailSendRequest |
Implements Beamable.Common.Api.Mail.IMailApi.
|
inline |
Must be sent from an admin user or a microservice. Update a mailing after it has been sent.
| updates | A MailUpdateRequest |
Implements Beamable.Common.Api.Mail.IMailApi.