TelegramBot.unpinChatMessage

Unpin a message in a supergroup or a channel

  1. bool unpinChatMessage(T chat_id)
    struct TelegramBot
    @trusted
    bool
    unpinChatMessage
    (
    T
    )
  2. bool unpinChatMessage(UnpinChatMessageMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta