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... | |
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... | |
Promise< ListMailResponse > Beamable.Common.Api.Mail.IMailApi.GetMail | ( | string | category, |
long | startId = 0 , |
||
long | limit = 100 |
||
) |
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. |
Implemented in Beamable.Common.Api.Mail.AbsMailApi.
Promise< SearchMailResponse > Beamable.Common.Api.Mail.IMailApi.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.
request | A SearchMailRequest to filter the player's mail with. |
Implemented in Beamable.Common.Api.Mail.AbsMailApi.
Promise< EmptyResponse > Beamable.Common.Api.Mail.IMailApi.SendMail | ( | MailSendRequest | request | ) |
Must be sent from an admin user or a microservice. Send mail to one or many users.
request | A MailSendRequest |
Implemented in Beamable.Common.Api.Mail.AbsMailApi.
Promise< EmptyResponse > Beamable.Common.Api.Mail.IMailApi.Update | ( | MailUpdateRequest | updates | ) |
Must be sent from an admin user or a microservice. Update a mailing after it has been sent.
updates | A MailUpdateRequest |
Implemented in Beamable.Common.Api.Mail.AbsMailApi.