Похожие чаты

@Lonami Why, when I use SQLiteSession, then groups and channels without

adding - and -100, and when StringSession, I have to add? In particular, in get_input_entity ().
catch_up also does not work with StringSession

12 ответов

13 просмотров

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.

Константин-Черный Автор вопроса
⎞ .·. ⎝ ⎝
avoid tags. StringSession is only for storing aut...

I store StringSession in my database and download. Entities are saved in it.

Константин-Черный Автор вопроса
⎞ .·. ⎝ ⎝
They're not.

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

⎞ .·. ⎝ ⎝
They're not.

I dropped my code in your inbox please check sir

卂丂ㄒㄖ几
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

⎞ .·. ⎝ ⎝
why do you want to ban channels joining calls? and...

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

⎞ .·. ⎝ ⎝
why do you want to ban channels joining calls? and...

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

$ID#πRT# ★彡[ᴅᴀʀᴋ ᴅᴇᴍᴏɴꜱ]彡★
Oye bro can u tell me how to code filter then?? T...

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

Похожие вопросы

Обсуждают сегодня

Ну вот просто даже давайте вот как. Какой нибудь конкретный кейс, можете в пример привести, где бч работает и приносит прикладную пользу, а не просто что бы было? Не крипту.
Alexander Andreev
22
Всем привет! Имеется функция: function IsValidChar(ch: UTF8Char): Boolean; var i: Integer; ValidChars: AnsiString; begin ValidChars := 'abcdefghijklmnopqrstuvwxyzABCDE...
Евгений
44
For all those that keep asking why no pump? why this ? and why that...? Please close ur ewt chart and open 2 others - TOTAL (total mc) and BTC.D (btc dominance). Maybe BTC a...
Inn3r_G
19
"Since pnut can flip FTM easily, I'm swapping my FTM to pnut and hoping for a easy x5-x10" Perfect recipe for disaster. NFA but chances are, you'll end up as exit liquidity ...
C. A.
7
AMD status update? No longer in the plan but something might be around the corner later on Chinese partner? No longer in the plan. This market does not seem to be the top ...
Ben
6
да кстати заметил всюда почему то всех сюда прёт, ни в одном чате столько ботов не прёт как сюда.. Может чота надо доработать?
REDis
15
Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
I get confused when people talk about the ‘bull market’ and the ‘next bull market’ as if anyone really has a clue what’s really going on in the world. First of all - there i...
Shah
1
> Копаем глубже > Следующий момент был, когда я спросил его, знает ли он JavaScript. Он ответил, что его учили работать с C#. Я тоже в университете писал на C#, но даже там мн...
Oleg Volkov
4
Добрый день, подскажите, пожалуйста, по проблеме. Сегодня на работе утром обнаружилось что по рдп подключиться не получается к серверу 2022. В серверную зашел - на системно...
srv
19
Карта сайта