> For the complete documentation index, see [llms.txt](https://triforge-studio.gitbook.io/triforge-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://triforge-studio.gitbook.io/triforge-studio/vorp/telegram/configuration.md).

# ⚙️ Configuration

### Config:

```lua
Config = {}

-- Discord webhook for telegram notifications
-- Put your webhook URL here
Config.Webhook = ""

-- Embed customization for webhook messages
Config.Embed = {
    username = "TRI-Telegram",
    avatar_url = "",
    color = 3447003, -- blue
    footer = {
        text = "TRI-Telegram",
        icon_url = ""
    }
}

-- Distance at which the courier PED is searched for / spawned relative to the player
Config.PedSpawnDistance = 50.0

-- Courier: NPC model and horse model (in-game model names, e.g. a_c_horse_morgan_bay)
Config.Courier = {
    NpcModel = "u_m_m_riodonkeyrider_01",  -- courier PED model
    HorseModel = "a_c_horse_morgan_bay",   -- horse model
}

-- Debug logging (true = show debug logs)
Config.Debug = false

-- Current language ('ro' / 'en')
Config.Locale = 'en'

-- Configurable ranges and speeds for courier behavior
Config.Behavior = {
    -- Distance at which the horse speeds up toward the player (first phase)
    horseApproachDistanceFast = 15.0,
    -- Distance at which the horse slows down and approaches finely
    horseApproachDistanceSlow = 10.0,
    -- Distance at which the interaction prompt is created
    interactionPromptDistance = 3.0,
    -- Distance to check for active prompt
    promptActiveDistance = 2.5,
    -- NPC follow speed on foot
    npcFollowSpeed = 1.8,
    -- On-foot follow range (kept)
    npcFollowKeepRange = 1.6,
    -- NPC mounted departure speed
    departureSpeed = 3.0,
    -- Distance at which the NPC is considered far enough after departure
    departureFarDistance = 100.0
}



```
