https://discord.gg/botpress logo
API CALL List Users - LARGE text encoded image bei...
# 💻developers
c
API CALL List Users - LARGE text encoded image being returned, how to remove it ? I am using the API to list my BOT users with this https://botpress.com/reference/listusers And there is a unnecessary, ANNOYING, VERY LARGE field in the response with a text encoded picture. I don't see anywhere how to limit the output fields ( or keys ) using the TAGS. Even worst, why I would need a picture for my Bot users , not really sure and not all users have it . The 3rd record contains this extra field : "pictureUrl=data:image/jpeg;base64,.... more in the example : A initial response : 08T19:38:38.184Z, id=user_AAABBBQ12SEJJ9MTTB98, tags={telegram:id=7777777}, createdAt=2024-11-08T19:38:38.184Z}, {updatedAt=2024-11-08T17:26:17.296Z, id=user_01JC6CZYYGPPCC7SSS444SSS, tags={telegram:id=610797777777}, name=First LastName, createdAt=2024-11-08T17:26:17.296Z}, {name=Name, id=user_01JC631HN5GVBEDDD, tags={telegram:id=73772222, createdAt=2024-11-08T14:32:23.461Z, updatedAt=2024-11-08T14:32:23.461Z}, {id=user_01JC62G4KW9AASS, createdAt=2024-11-08T14:22:53.052Z, name=NamePictured, pictureUrl=data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAICAgICAQICAgIDAgIDAwYEAwMDAwcFBQQGCA .... We can save some bytes and watts avoiding extra transfer data right ?