SELTENLABS
Documentation

Email, SMS, push and Telegram

How the platform delivers messages: which channels exist in the code, who is the primary sender, what a connection needs and why a message is never sent twice.

Documentation sections

Email#

System email (confirmations, notices) and marketing mailings. These are different purposes with their own routes: system and marketing email are set up independently.

What is in the code

ModulePurposeStatus
SMTP
smtp
Sends service email to players (confirmations, receipts, notices) through any SMTP server.adapter exists, not connected
Bulk email vendor
email_marketing_esp
Campaigns and triggered mailings with templates, unsubscribe handling and delivery statistics (for example SendGrid, Mailgun, Customer.io).not connected, planned

What a connection needs

SMTP smtp
An SMTP server or mail service account: host, port, security mode, a sender address on a domain with SPF and DKIM set up, and a username and password if the server requires them.
Fields in the interface: host, port, security, from_address, from_name; secrets: username, password
Bulk email vendor email_marketing_esp
A contract with the vendor, the API URL and keys. The connector is not built yet.

Vendors and alternatives

VendorHow it connectsStatus
Customer.ioTrack API, App API, webhookadapter exists, not connected
SendGrid (Twilio)SMTP and RESTadapter exists, not connected
Mailgun (Sinch)SMTP and RESTadapter exists, not connected
SmarticoREST, webhook, widgetsalternative, not chosen
OptimoveAPI, connectorsadapter exists, not connected

The vendor review: vendors are named as options. These are not partnerships or agreements: the status not connected means exactly that.

SMS, push and Telegram#

Codes, notices and bringing players back. SMS, push and messengers go over different channels and are routed separately.

What is in the code

ModulePurposeStatus
HTTP SMS gateway
sms_http
Sends one-time codes and notices by SMS through any vendor that accepts a plain HTTP request.adapter exists, not connected
Telegram
telegram_bot
Sends notices and alerts to a Telegram chat through our own bot.adapter exists, not connected
Browser push
web_push
Notifications to a player's browser once they opt in (for example OneSignal or our own Web Push service).not connected, planned
Mobile push (FCM and APNs)
mobile_push
Notifications to phone apps through Firebase Cloud Messaging and Apple Push Notification service.not connected, planned

What a connection needs

HTTP SMS gateway sms_http
A contract with an SMS vendor; the gateway URL, the request format from its docs (method, JSON or form, field names), an approved sender ID and an API key.
Fields in the interface: url, method, payload_format, recipient_field, text_field, sender_field, sender_id, success_status; secrets: api_key
Telegram telegram_bot
A bot created with @BotFather (token). The recipient opens the bot and sends /start so the chat ID is known.
Fields in the interface: ; secrets: bot_token
Browser push web_push
A contract with the vendor, the API URL and keys. The connector is not built yet.
Mobile push (FCM and APNs) mobile_push
A contract with the vendor, the API URL and keys. The connector is not built yet. A mobile app is needed first.

Vendors and alternatives

VendorHow it connectsStatus
WavixREST v3, webhookadapter exists, not connected
23 TelecomREST OpenAPI, webhookadapter exists, not connected
TwilioREST, webhookadapter exists, not connected
OneSignalREST, SDKadapter exists, not connected
Firebase Cloud Messaging / APNsFCM HTTP v1, APNsadapter exists, not connected

The vendor review: vendors are named as options. These are not partnerships or agreements: the status not connected means exactly that.