Documentation - v0.27.0
    Preparing search index...
    • Unpin all pinned messages in a chat.

      Parameters

      • client: ITelegramClient
      • chatId: InputPeerLike

        Chat or user ID

      • Optionalparams: { shouldDispatch?: true; topicId?: number }
        • OptionalshouldDispatch?: true

          Whether to dispatch updates that will be generated by this call. Doesn't follow disableNoDispatch

        • OptionaltopicId?: number

          For forums - unpin only messages from the given topic

      Returns Promise<void>