adding - and -100, and when StringSession, I have to add? In particular, in get_input_entity ().
catch_up also does not work with StringSession
avoid tags. StringSession is only for storing authorization and real-time interaction when running using a memory cache, once destroying the instance, it reserves no information into your disk for next runs. so, it can't store any of id' chat type or their access_hash, and no update_state to catchup. server allows you fetch channels you've joined and small group always, without needing access hash, but in string session the library can't guess the chat type of id you pass and tells the server it's a User unlike Sqlite which remembers it, -100 is needed.
I store StringSession in my database and download. Entities are saved in it.
Yeah, just checked. Indeed, before start () entities is empty. And how can I be? I need to store the information not on the hard drive, because the hard drive is being cleaned
I dropped my code in your inbox please check sir
why do you want to ban channels joining calls? and which calls do you want to monitor the ones you're admin at? since it's unstable to monitor all UpdateGroupCallParticipants, server doesn't always send you inputPeer when you're not in call or other issues. just to try to do try: get_input_entity(peer) except ValueError: do whatever needed to cache such user
Video calls of group.. people joins the group and switch to a channel to abuse video calls members... Thats why I'm working on this project
Oye bro can u tell me how to code filter then?? That's Bot should send msg only if a specific I'd user sent any trigger
Your code is not the issue. you're messing it up somewhere else and assigning the "hi()" callback to a wrong event type, check your imports or try to rename the functions
what is phone_code_hash in ChangePhoneRequest?
Let me try... Thanks for help buddy⚡
Обсуждают сегодня