use your own
api_id = my id here
api_hash = hash here
client = TelegramClient('anon', api_id, api_hash)
y = str(input("Enter A Channels Link: "))
async def main():
channel = await client.get_entity(y)
msg_ids = await client.get_messages(channel, limit=1)
await client(GetMessagesViewsRequest(
peer=channel,
id=msg_ids,
increment=True,
))
with client:
client.loop.run_until_complete(main())
Now what's the error here?
id=msg_ids[0].id
Why my account got deleted just for logging in to telethon? Isn't telethon library safe?
@admin Please Reply Asap So That I Shall Continue My Developments
Reported Tron Mate | Owner [5265085769] to admins.
https://github.com/lonamiwebs/telethon/issues/824
:) I cannot click this my dear mega brain
Stop tagging admins
https://github.com/lonamiwebs/telethon/issues/824
Yeah but I haven't done anything wrong to abuse or spam anyone. Just logged in and tried viewing a message using telethon, it's my first development in telethon, and it banned my account.. will this happen again? ...
-> will this happen again. We don't know. Ask telegram
Is Telethon An Official Or Unnoficial Version of Telegram?
:) god mode inderect answers 🤞
import telethon from telethon.tl.functions.messages import GetMessagesViewsRequest from telethon import TelegramClient # Remember to use your own values api_id = myid api_hash = 'myhash' client = TelegramClient('anon', api_id, api_hash) y = str(input("Enter A Channels Link: ")) async def main(): channel = await client.get_entity(y) msg_ids = await client.get_messages(channel, limit=1) await client(GetMessagesViewsRequest( peer=channel, id=msg_ids[0].id, increment=True, )) with client: client.loop.run_until_complete(main())
Got some error again
Please resolve this before my account gets a ban . 🙏
20 mins gone admins pls help 🥲
id=[msg_ids[0].id]
Thanks it shows no error, but didn't increase even 1 view
Isn't this method working..?
Why are you using the view again?
Sorry, I cannot get what u mean, could u pls breif a little?
I meant what your target is ... Using this view script?
This script enables to view the post using the account you are using.. You won't get unlimited views out of it 😅.
But then why increment = true
But in the docs it's said something like that
And even there's a note: don't run this loop many times a day. It won't increase your view count. Use it twice a day . Why there's a need to use it twice a day just for 1 view 😕
Maybe people try to do it again and again
https://docs.telethon.dev/en/stable/examples/chats-and-channels.html?highlight=increase%20post%20view%20s#increasing-view-count-in-a-channel Please read this once again, it's said it will increase view count, even the title says the same
But only the account you are using. Ask @lonami
That would be spamming..with fake views.. Why would @lonami do that 🤨.
Not spamming just using it ourselves. We aren't hurting anyone
@lonami why this doesn't increase view count?
Don't depend on clients to check views, they have cache and don't update immediately. print it. async def main(): channel = await client.get_entity(y) msg_ids = (await client.get_messages(channel, limit=1))[0] print(msg_ids.views) await client(GetMessagesViewsRequest( peer=channel, id=[msg_ids.id], increment=True, )) print( ( await client.get_messages( msg_ids.input_chat, ids=msg_ids.id)).views ) with client: client.loop.run_until_complete(main())
He is thinking he can get unlimited views out of it..😅.
Can't I get more views as mentioned in the docs? If not y did telethon docs waste my time, by including a fake doc
Read it again Jãїиãм
then what's the problem mate ?
He is thinking he can get unlimited views with using one account using this script 🤪
https://t.me/TelethonChat/491793 he already knows it that he can't :(
He doesn't believe 🤣🤣
It's mentioned, using it continuosly, won't increase views forever, unless u wait a day between each iteration
so why did you wasted your time ?
Expected to get unlimited views. He didn't understand it correctly
So if I leave a gap between two iteration s, it will increase views right?
You still didn't understand 😹
yes if gap > 24+hours
How much will increase?
I'm going to try , proxychains and tor . And let me also try setting increment = 400 or should I only use Boolean?
You can't. it's 1 every 24. and proxy is useless, Telegram uses account phone number for identification. not ip
If we can give 1 every day for the same post, why can't we do it on the same day? On the same second?
I beleive nothing is impossible
If you are prodigious of some sort or determined enough then yes by getting numerous accounts. otherwise you will just gaslight yourself, it's naive to think everything is possible. give up and do something more useful in your day. you can't win against Telegram server devs.
But how come some scripts that could give fake views without user login, just by using proxies and telethon. Before 3-4 years. I mean bot views
Обсуждают сегодня