# Recover Token from Linked Post

### 🚀 Overview

Recover Token from Linked Post solves a common issue in Crypto Mode:

❌ The current message does not contain a token\
✅ But the token exists in a linked post

This addon automatically:

* Detects links inside the message (text, caption, URL, text-link)
* Finds the linked post within the same Telegram channel
* Extracts the token from that post
* Continues forwarding using the recovered token

👉 This ensures you don’t miss signals just because the token isn’t in the current message

***

### ⚙️ How It Works

1. Crypto Mode attempts to extract a token from the current message
2. If no token is found → the addon is triggered
3. The system will:
   * Scan all links in the message
   * Identify linked posts in the same channel
   * Retrieve the content of the linked post
   * Extract the token from that content
4. If a token is found → it will be used for forwarding

***

### ✅ Key Features

* 🔗 Recover tokens from linked posts within the same channel
* 🧠 Automatic fallback when the current message has no token
* 📄 Supports multiple link sources:
  * Message text
  * Captions
  * URL entities
  * Text-link entities

***

### ⚠️ Requirements

This addon only works if:

* ✅ Contract Address Mode is enabled (`crypto_contract = true`)

If not enabled, the addon will not function.

### 💡 Use Cases

#### 1. Split signal content

* Message A: “Check this 👇” + link
* Message B (linked): contains the token\
  👉 The addon extracts the token from Message B

***

#### 2. Teaser-style posts

* Current message has no token
* Token is hidden in a previous/linked post\
  👉 No missed signals

***

#### 3. Clean content channels

* Channels intentionally avoid posting contracts directly\
  👉 Token can still be recovered from linked posts

***

### 🎯 Recommendation

This addon is especially useful if you:

* Follow crypto channels that rely on linked posts
* Want to avoid missing tokens due to incomplete messages
* Need higher accuracy in Crypto Mode


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-v2.autoforwardtelegram.com/addons/recover-token-from-linked-post.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
