Antispam bots currently have no way to read a user's bio when they join a group. The Bot API does return user info via getChat for users sharing a group with the bot, but the bio field is excluded unless the user has privately interacted with the bot. The bio is visible to all group members, yet bots are specifically locked out of it. Spammers exploit this gap by putting spam content in their bio, knowing bots can't detect it (my antispam bot is getting plenty of reports about these accounts). MTProto exposes this via users.getFullUser, but rate limits make it impractical at scale (and it's not right to need a userbot for this sort of thing anyway).
Request:
- Add an optional bio field to
ChatMemberUpdated and ChatJoinRequest so bots can evaluate bios on join.
- Include the bio in
getChat responses for any user the bot can already retrieve info for, not only users who have privately messaged the bot. This would help in cases where bots join, update their bio, and then spam an innocent looking message, enticing viewers to open their profiles.
Antispam bots currently have no way to read a user's bio when they join a group. The Bot API does return user info via getChat for users sharing a group with the bot, but the bio field is excluded unless the user has privately interacted with the bot. The bio is visible to all group members, yet bots are specifically locked out of it. Spammers exploit this gap by putting spam content in their bio, knowing bots can't detect it (my antispam bot is getting plenty of reports about these accounts). MTProto exposes this via
users.getFullUser, but rate limits make it impractical at scale (and it's not right to need a userbot for this sort of thing anyway).Request:
ChatMemberUpdatedandChatJoinRequestso bots can evaluate bios on join.getChatresponses for any user the bot can already retrieve info for, not only users who have privately messaged the bot. This would help in cases where bots join, update their bio, and then spam an innocent looking message, enticing viewers to open their profiles.