Skip to main content
Corvus Connection

Telegram: Send DM

Telegram
Action
Portent preview
telegram.sendDmSends an HTML-formatted direct message to a user who has started the bot. Wire the text into message and set the recipient.Enqueues a throttled direct message. The recipient must have started the bot.
SocialAlerts

Inputs

Name
Kind
Type
Flags
inExecexecmultiplexed
messageDataSystem.StringNone

Outputs

Name
Kind
Type
Flags
outExecexecNone

Parameters

Name
Type
Required
Default
Choices
recipientSystem.Stringyes""None

Lowers to C#

await ctx.Telegram.SendDmAsync(recipient, message);