Skip to content

ساخت بات برای ارسال پیام به یک کانال #22

Description

@nevahid

سلام خسته نباشید...
من کد زیر رو ابتدای برنامه نوشتم
baleupdater = Updater(token="xxxxx", loop=asyncio.get_event_loop())
baledispatcher = baleupdater.dispatcher
balehbot = baleupdater.bot

ولی پیغام خطای زیر ارسال میشه...
Traceback (most recent call last):
File "main.py", line 40, in
balehbot = baleupdater.bot
AttributeError: 'Updater' object has no attribute 'bot'

لطفا راهنمایی کنید... ممنون

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions