Sharing Contacts with Telegram Bots
I know Telegram bots can send text messages using URL parameters. But I’m wondering if there’s a way to share a contact instead.
Has anyone figured out how to do this? Is it even possible?
I’ve looked around but couldn’t find a clear answer. If you know how to make a bot share contact info through a URL, please let me know!
Thanks for any help or ideas you can offer. I’m really curious to see if this can be done.
From my research and experimentation with Telegram bots, I can confirm that sharing contacts directly through URL parameters isn’t supported. Telegram prioritizes user privacy and security, which limits certain functionalities. However, you might consider an alternative approach. You could create a bot that, when activated via a deep link, prompts the user to share their contact information voluntarily. This method respects user consent and aligns with Telegram’s policies. While it’s not exactly what you’re looking for, it could potentially meet your needs in a platform-compliant way. Remember to clearly communicate the purpose of contact sharing to users for transparency.
hey there! as far as i know, telegram bots cant directly share contacts thru url parameters. theyve got limits on what they can do outside the app. but maybe u could make a bot that sends a contact card when someone clicks a link? might be a workaround worth trying!
I’ve actually worked with Telegram bots quite extensively, and I can confirm that sharing contacts directly through URL parameters isn’t possible. However, there’s a workaround that might suit your needs. You could create a bot that, when initiated through a deep link, sends a contact card to the user within the Telegram app. This method involves using the bot’s API to send a contact message once the user interacts with it. It’s not as seamless as a direct URL share, but it’s the closest solution I’ve found in my experience. Keep in mind that this approach requires the user to start a conversation with the bot first, which adds an extra step but maintains Telegram’s privacy standards.