#  RubigramClient - Rubika API library for python
#  Copyright (C) 2025-present Javad <https://github.com/DevJavad>
#  Github - https://github.com/DevJavad/rubigram


from typing import Optional
from dataclasses import dataclass
from .config import Object
import rubigram


@dataclass
class Bot(Object):
    """
    **Represents a bot in Rubigram.**
        `from rubigram.types import Bot`

    Contains basic information about a bot, including its identifiers,
    description, avatar, and sharing information.

    Attributes:
        bot_id (`str`):
            Unique identifier for the bot.

        bot_title (`Optional[str]`):
            Display title of the bot.

        avatar (`Optional[rubigram.types.File]`):
            The bot's avatar file object.

        description (`Optional[str]`):
            Description of the bot.

        username (`str`):
            The bot's username.

        start_message (`Optional[str]`):
            Default start message of the bot.

        share_url (`str`):
            Public URL for sharing the bot.
    """
    bot_id: str = None
    bot_title: Optional[str] = None
    avatar: Optional["rubigram.types.File"] = None
    description: Optional[str] = None
    username: str = None
    start_message: Optional[str] = None
    share_url: str = None