Would it work for users without profile pic, by the

way?

6 ответов

4 просмотра

that's the point: getChat would not. You cannot rely on it in that cases

i've came up with idea to store info if user had a pfp on his first start. So if the profile pic gets deleted - you probably got banned. PROBABLY. That's the problem. Well if you are checking permission only in private chats you can just rely on https://core.telegram.org/method/users.getFullUser. Check the status of him

Yegor- Автор вопроса
s0m31 🇷🇺
i've came up with idea to store info if user had a...

But I am clueless on users without pfp from the start, that's the bigger problem. I don't really thing a lot of people delete pfp "casually". What do you think about silent message try?

Yegor
But I am clueless on users without pfp from the st...

I have a userbot with "!ignore" function in it. It deletes all incoming messages from anybody in ignore list. Just a way to blacklist somebody without loosing my ability to write to him And even since messages are being deleted INSTANTLY after I receive them, telegram still sends a notification that won't disappear. So that's a risky way

s0m31 🇷🇺
i've came up with idea to store info if user had a...

Again, for private chats getting user online status should be enough

Yegor- Автор вопроса
s0m31 🇷🇺
Again, for private chats getting user online statu...

You didn't mention that, I guess. Private chats are what I need now. Would try this one.

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

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

А можно не обсуждать тут V?
Darkanronpa Goodbye Despair
18
Вот зачем писать о том, чего ты не знаешь? Стохастический это и есть вероятностный. И в этом и проблема, что один и тот алгоритм на одних и тех же данных выдает разный результ...
Aleksandr Druzhinin
37
Какая бы группа загнулась? Этот канал о Ди. Хотите поговорить о го/зиге/расте - добро пожаловать на каналы этих языков. Тут про Ди не говорят практически. Загнулась бы группа ...
Aleksandr Druzhinin
10
Кстате вопрос. Насколько я помню, был пост. Что в D nogc имеет накладные расходы. При работе с GC. Правда, нет? Разобраться толком времени не хватило.
Vi
3
Уолтер в коммунити zig-а суету наводит: https://news.ycombinator.com/item?id=41015588 С одной стороны, конешн, пиарится, с другой стороны, коркоманде и тому же Kelley, который...
Constantin F.
26
Warning Failed to apply the selected architecture x86_64-pc-windows-msvc. Got ["x86"]. Error Unsupported architecture: x86_64-pc-windows-msvc кто-нибудь знает, что с ldc2? вот...
quantumde1 Зубенко
3
@wintttr gdc, ldc2, dmd?
quantumde1 Зубенко
6
Этот V кто делает?
☭Тупо Лучше Император
3
Я кстате только в играх пока ,действительно вижу проблему от GC. А у вас какие задачи раз GC не нужен?
Vi
2
появился нормальный вывод зависимостей файла в стиле makefile?
Макс Воробьев
4
Карта сайта