Engines and transports
network component engine
Telegram TsgcTDLib_Telegram official TDLib (tdjson)
WhatsApp TsgcWhatsApp_Client HTTPS, Meta Graph API
credentials you bring
Telegram api_id + api_hash (user), or a bot token
WhatsApp PhoneNumberId + Token (Meta business account)
TDLib native builds: Windows, macOS, Linux 64-bit,
Android and iOS. Point LibraryPath at the build
for your platform.
The WhatsApp client is pure HTTPS: no native library,
every platform Delphi targets.
sgcSocial is standalone
Standalone, the sgcWebSockets Core runtime is included: the HTTP and TLS layer, the JSON helpers and the webhook server the WhatsApp component hosts all ship in one installer, with full source code in the box.
Telegram ships with an engine
TsgcTDLib_Telegram loads the official TDLib library at runtime (tdjson.dll, libtdjson.so, libtdjson.dylib), the same engine the Telegram clients are built on. That is what makes a full user-account client possible: phone number sign-in with the 2FA password step, secret chats and the complete update stream, next to plain bot tokens. It also connects through HTTP, SOCKS5 and MTProto proxies.
WhatsApp needs only HTTPS
The WhatsApp Business Cloud API is hosted by Meta, so TsgcWhatsApp_Client is a pure HTTPS client plus a built-in webhook endpoint for inbound messages. There is no native library at all. You bring a Meta business account, a PhoneNumberId and a Token.
Delphi and C++ Builder
sgcSocial targets Delphi 7 through RAD Studio 13 and C++ Builder. The same two components also live inside sgcWebSockets, the Telegram client from the Standard edition up and the WhatsApp client from Professional up, so an existing sgcWebSockets license may already cover you. The free trial installer is the sgcWebSockets All-Access trial, so both components can be evaluated today.
TDLib
HTTPS
Built-in webhook
HTTP · SOCKS5 · MTProto proxies
Full source
Every component and property →