atipugin / telegram-bot-ruby

Ruby wrapper for Telegram's Bot API
https://core.telegram.org/bots/api
Do What The F*ck You Want To Public License
1.35k stars 217 forks source link

User chats #259

Closed robertosante closed 1 year ago

robertosante commented 2 years ago

Can i get access to my own user chats? and how if possible

ALEKSEYR554 commented 2 years ago

I dont think this is possible but if you just want to check subscription here is example to check if user is in chat bot.api.getChatMember(chat_id:"chat_id",user_id:message.from.id)['result']['status'].to_s=="left"