art-vasilyev / instachatbot

Simple framework for building Instagram chat bots with menu driven interface
MIT License
18 stars 0 forks source link

links not work #22

Open BodyaGo opened 4 years ago

BodyaGo commented 4 years ago

when i paste link to message example link: MessageNode('https://www.google.com/)) bot send me this link to direct but link don`t working, the link comes as plain text and doesn't work how i can fix this problem ? , what i need to do

art-vasilyev commented 4 years ago

Sending links is not implemented. Instachatbot uses https://github.com/instagrambot/instabot as API, please check if sending links works in instabot, pull requests are welcome

BodyaGo commented 4 years ago

Отправка ссылок не осуществляется. Instachatbot использует https://github.com/instagrambot/instabot в качестве API, пожалуйста, проверьте, работает ли отправка ссылок в instabot, приветствуются запросы на извлечение

https://github.com/instagrambot/instabot/blob/master/instabot/bot/bot_direct.py self.delay("message") urls = self.extract_urls(text) item_type = "link" if urls else "text" if self.api.send_direct_item( item_type, user_ids, text=text, thread=thread_id, urls=urls Line 25