google-hangouts

Incoming webhook message appears from 'Unknown User' in mobile app, correct webhook name in web interface


I have an incoming webhook in a Google Chat room called 'Github Bot'. A Python script hits the webhook URL with a standard message POST payload.

The web interface at https://chat.google.com shows the correct name 'Github Bot' in any messages received to this webhook.

Google Chat web interface view showing correct webhook name

But the mobile Chat application shows those same messages as coming from 'Unknown User'.

Google Chat mobile app view showing Unknown User

Is there any way to make the mobile app use the webhook's name as the sender, same as the web interface does? E.G, is there some attribute I can send as part of the payload, or is this simply a bug/non-implementation on the mobile app and I can't do anything about it?

Thanks!


Solution

  • This seems to be a bug:

    The webhook name and the Bot label are not shown properly on the iOS mobile app if an avatar is added to the webhook:

    enter image description here

    On Android, and on the web browser, the name and the Bot label are displayed correctly:

    enter image description here

    Reported in Issue Tracker:

    I went ahead and reported this behavior in Google Issue Tracker:

    I'd suggest you to star this issue in order to keep track of this and to help prioritizing it.