TelegramBot / Api

Native PHP Wrapper for Telegram BOT API
MIT License
1.09k stars 324 forks source link

How to get the join message? #189

Closed Spixmaster closed 5 years ago

Spixmaster commented 5 years ago

Do you know how to get the join message? Is it even possible? I already know new_chat_members but I need the person who added the users or the whole join message as a string.

Spixmaster commented 5 years ago

I have the solution: with message.from() you get the person who added the new members and with message.newChatMembers() you get the added users.