@extends('layouts.app') @section('title', 'Telegram API Configuration') @section('content')

Telegram API Configuration

Configure your Telegram bot for notifications

Back to Settings
Telegram Bot Configuration
Get your bot token from @BotFather on Telegram
@foreach($telegramGroups as $group)
{{ $group->icon }}
{{ $group->name }}
@if($group->is_default) Default @endif

{{ $group->description }}

is_active ? 'checked' : '' }}>
@php $notificationTypes = [ 'client_request' => 'Client Requests', 'payment_received' => 'Payments', 'system_alert' => 'System Alerts', 'support_ticket' => 'Support Tickets', 'bill_generated' => 'Bill Generation', 'revenue_report' => 'Revenue Reports', 'admin_action' => 'Admin Actions', 'marketing_campaign' => 'Marketing', ]; @endphp @foreach($notificationTypes as $type => $label)
notification_types ?? []) ? 'checked' : '' }}>
@endforeach
@endforeach
Configure different Telegram groups for different types of notifications
Use this URL to set up webhook in your Telegram bot (optional)
Advanced Settings
Message formatting style
API request timeout in seconds (5-120)
Disable automatic link previews
Send messages silently
Maximum retry attempts for failed messages
Delay between retry attempts
Maximum characters per message
Maximum messages per minute
Log sent messages for debugging
Minimum log level to record
Comma-separated list of allowed chat IDs
Keywords to block in messages
Custom HTTP headers for API requests
Configuration Status
Bot Token: Not Set
Chat ID: Not Set
Status: Unknown
Quick Actions
Help & Instructions

  1. Open Telegram and search for @BotFather
  2. Start a conversation and send /newbot
  3. Follow the instructions to create your bot
  4. Copy the bot token provided

  1. Search for @userinfobot on Telegram
  2. Start a conversation and send any message
  3. The bot will reply with your Chat ID
  4. Copy the Chat ID number
@endsection