Skip to content

i'm confused in working with Telethon library  #213

@InnocentCivilian

Description

@InnocentCivilian

is this library written under python2?because I'm really confused
can someone write a code to do anything,I mean "anything" for me to see an output
like this code:
---functions--- account.checkUsername#2714d86c username:string = Bool
what does #2714d86c mean?
and Supposing that that this code has been written in py2 when i rewrite it in py3 like this:
`>>> from telethon.tl.functions.account import CheckUsernameRequest

fhand=account.checkUsername(durov:string = Bool)
File "", line 1
fhand=account.checkUsername(durov:string = Bool)
^
SyntaxError: invalid syntax
`
this happends
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    RTFM*Questions* don't belong in the *project's issues* tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions