Загрузка...

Script Telegram Chat Bot Business Premium

Thread in Python created by RBLuXe Jun 22, 2025. 291 view

  1. RBLuXe
    RBLuXe Topic starter Jun 22, 2025 2 Jul 1, 2024
    [IMG]

    какой промпт гпт сделать, чтобы он получал входящие сообщения с аккаунта человека который добавил его в телеграмм бизнес
     
    1. openresty
      RBLuXe, Ало питон? Дада вайбкодинг
    2. morphosed
      openresty, Ало программирование, да-да gpt
  2. VRLove
    VRLove Jun 22, 2025 Разработка >>> https://lolz.live/threads/8408504/ 31 Dec 6, 2023
    идешь в поиск исполнителей, пишешь Здрасьте хочу бота, платишь денежку и вуаля все готово
     
  3. KusuriYakuzen
    просто скажи ему, бот будет через тг бизнес работать, должен получать все сообщения с лса и отвечать
     
  4. Kalipso
    Kalipso Jun 22, 2025 531 Apr 12, 2022
    А люди ещё говорят что ИИ заменят программистов
     
    1. BDSM
      Kalipso, к сожалению да, так и будет. Никто не сказал, что это прямо сейчас будет. До 5 лет думаю
    2. cerdicor
      BDSM, к сожалению да, так и будет. Никто не сказал, что это прямо сейчас будет. До 5 лет думаю
  5. cabbage
    cabbage Jun 22, 2025 капуста 59 Feb 7, 2022
    опиши ему вид хендлера:

    Code
    @router.business_message()
    async def business_handler(conn: BusinessConnection):
    pass

    и как выглядит объект BusinessConnection:


    Code
    class BusinessConnection(TelegramObject):
    """
    Describes the connection of the bot with a business account.
    """

    id: str
    """Unique identifier of the business connection"""
    user: User
    """Business account user that created the business connection"""
    user_chat_id: int
    """Identifier of a private chat with the user who created the business connection. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier."""
    date: DateTime
    """Date the connection was established in Unix time"""
    is_enabled: bool
    """True, if the connection is active"""
    rights: Optional[BusinessBotRights] = None
    """*Optional*. Rights of the business bot"""
    can_reply: Optional[bool] = Field(None, json_schema_extra={"deprecated": True})
    """True, if the bot can act on behalf of the business account in chats that were active in the last 24 hours
     
    1. мошенник
      cabbage, вот этот текст нужно в нейронку ****ать как документацию RBLuXe
Loading...
Top