Skip to main content
Corvus Connection

Telegram: Send Message

Telegram
Action
Portent preview
telegram.sendMessagePosts an HTML-formatted message to a saved Telegram channel or group. Wire the text into message and set the target.Enqueues a throttled channel or group send with a link-preview toggle.
SocialAlerts

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
message
Data
System.String
None
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed
  • Name
    message
    Kind
    Data
    Type
    System.String
    Flags
    None

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None

Parameters

Name
Type
Required
Default
Choices
target
System.String
yes
""
None
linkPreview
System.Boolean
no
true
None
  • Name
    target
    Type
    System.String
    Required
    yes
    Default
    ""
    Choices
    None
  • Name
    linkPreview
    Type
    System.Boolean
    Required
    no
    Default
    true
    Choices
    None

Lowers to C#

await ctx.Telegram.SendAsync(target, message, new TelegramSendOptions { LinkPreview = linkPreview });