TelegramBot.pinChatMessage

Pin a message in a supergroup or a channel

  1. bool pinChatMessage(T chat_id, int message_id)
  2. bool pinChatMessage(PinChatMessageMethod m)
    struct TelegramBot
    @trusted
    bool
    pinChatMessage

Return Value

Type: bool

true on success

Throws

TelegramBotException on errors

See Also

Meta