Quantcast
Channel: User Ali Hashemi - Stack Overflow
Browsing all 41 articles
Browse latest View live

Comment by Ali Hashemi on As a group admin of telegram supergroup, how can I...

core.telegram.org/bots/api#editmessagetext has disable_web_page_preview.

View Article



Comment by Ali Hashemi on Convert TelegramDesktop profile to telegram-cli

I hope this helps: github.com/LonamiWebs/Telethon/blob/master/readthedocs/extra‌​/…

View Article

Comment by Ali Hashemi on How can i use telegram lib to auth and send message...

Unfortunately, Telethon is not available in Java. I have not found any good Java library for this use case so far.

View Article

Comment by Ali Hashemi on Telegram authorization without default button

Telegram has introduced telegram.org/blog/… recently. Maybe you can use it as an alternative.

View Article

Comment by Ali Hashemi on Send a PDF file to telegram using PL/SQL- UTL_HTTP...

What do you want to do exactly? What's the problem?

View Article


Comment by Ali Hashemi on How to send a request using Telegram API

Is your client user a member of the channel already? Is the chatId correct?

View Article

Comment by Ali Hashemi on How to get partecipants from channel id with Telethon

Are you the channel admin?

View Article

Comment by Ali Hashemi on Elasticsearch How to retrieve the maximum id

Deprecation: Loading the fielddata on the _id field is deprecated and will be removed in future versions. If you require sorting or aggregating on this field you should also include the id in the body...

View Article


Comment by Ali Hashemi on How to create a link to contact specific phone...

Whatsapp doesn't respect users' privacy and allows governments to crawl and store user's data easily. That's one of the reasons authoritarian regimes such as Iran have blocked Telegram but not Whatsapp.

View Article


Comment by Ali Hashemi on Looking to get average speed for each ID in terms...

Gateway Time-out generally happens when the request processing takes longer than expected. Try the same query using CLI instead of Kibana. Because Kibana timeouts fast.

View Article

Comment by Ali Hashemi on Handling a python script with telegram bot

does your web scraping app have a stop method?

View Article

Comment by Ali Hashemi on Get all the users of a channel in Telegram using...

Don't you think such a "chance" would be a serious security issue!?

View Article

Comment by Ali Hashemi on Syncing Telegram contacts without phone/API

You can write a code for doing this using telethon. Beware that Telegram limits the number of contacts you can import in a short period.

View Article


Answer by Ali Hashemi for what should i pass as offset and limit parameters...

I think the best example to download files using telethon is telegram_bare_client.py. Take a look at it here.This is the method you should be interested in:def download_file(self, input_location, file,...

View Article

Answer by Ali Hashemi for How to get all users in a telegram channel using...

Sean answer won't make any difference. Your code works for older Telethon versions. In the new versions, a new argument hash is added to GetParticipantsRequest method. Therefore, you need to pass hash...

View Article


Answer by Ali Hashemi for Spring MVC test with MockMvc

Another easier way to solve the issue is to change init to this :mockMvc = MockMvcBuilders.standaloneSetup(new FrontPageController()).build();

View Article

Answer by Ali Hashemi for Module ... is not backed by gradle

This problem happened for me because I chose a different name for my project than my artifactID. In order to prevent this problem to happen, make sure your project name is the same as your artifactID.

View Article


Answer by Ali Hashemi for General question(s) regarding privacy on telegram

Unlike channels whose messages can be viewed by anyone, bots send messages to each user individually. When you start a Telegram bot, the back-end program behind it, receives your unique identifier....

View Article

Answer by Ali Hashemi for Sends a text message to a specific number phone

I suggest you using a top-layer library over MTProto to make things easier. For example you can use Telethon. You should use SendMessageRequest in order to send message. After creating a client you can...

View Article

Answer by Ali Hashemi for Telegram app not rendering acestream link

Currently, Telegram doesn't turn acestream links into clickable links. A workaround is to use a URL shortening service to change the link into an HTTP one. You can also surround the link between two...

View Article
Browsing all 41 articles
Browse latest View live




Latest Images