show/print chat messages

87 views
Skip to first unread message

Temple Rodgers

unread,
Jun 7, 2024, 10:55:52 AMJun 7
to GAM for Google Workspace
Hi,
I've been trying to work out if I can print out my chat messages using GAMADV-XTD3 ... I've enabled the chat scopes for GAM and followed the instructions to get to the cloud console and Chat API configuration ... I'm not exactly sure why I need to do this and whether or not it'll actually enable me to print my chat messages.
Thank you in advance
Temple

Ross Scroggs

unread,
Jun 7, 2024, 10:57:34 AMJun 7
to google-ap...@googlegroups.com
Disclaimers apply, for full details see: https://hackney.gov.uk/email-disclaimer

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/c00decac-b72c-46f6-9a82-c51451cd7c89n%40googlegroups.com.

Temple Rodgers

unread,
Jun 7, 2024, 11:16:27 AMJun 7
to GAM for Google Workspace
thank you Ross - the Chat API is enabled in my GAM project. when I try any of the commands I get an error.
e.g.
gam user <user> info chatspace "spaces/<spacenumber>"
or
gam user <user> print chatspaces

Ross Scroggs

unread,
Jun 7, 2024, 11:17:58 AMJun 7
to google-ap...@googlegroups.com
Temple,

Send me a Meet/Zoom invitation.

Ross
----
Ross Scroggs


Eduardo Alves

unread,
Jul 12, 2024, 9:27:29 AM (5 days ago) Jul 12
to GAM for Google Workspace
Hi Ross,

Sorry to use this topic, I need to export the complete conversation from a single space, should the command be the one below?

gam user (user) show chatspace space/AAAA

I checked the documentation above but I still have an error

Thanks a lot for the help

Eduardo Alves

unread,
Jul 12, 2024, 9:40:21 AM (5 days ago) Jul 12
to GAM for Google Workspace
My version GAMADV-XTD3 6.77.11

Ross Scroggs

unread,
Jul 12, 2024, 11:04:57 AM (5 days ago) Jul 12
to google-ap...@googlegroups.com
What is the error?

Ross
----
Ross Scroggs


Ross Scroggs

unread,
Jul 12, 2024, 11:14:25 AM (5 days ago) Jul 12
to google-ap...@googlegroups.com
Once we identify the error, the command you want is:
gam user (user) show chatmessages space/AAAA

Ross
----
Ross Scroggs


On Jul 12, 2024, at 6:40 AM, Eduardo Alves <eduardo....@gmail.com> wrote:

Eduardo Alves

unread,
Jul 16, 2024, 7:24:01 AM (21 hours ago) Jul 16
to GAM for Google Workspace
Hi Ross,

I get this error below when I type the command you sent above

ERROR:
To set up Google Chat for your API project, please go to:

    https://console.cloud.google.com/apis/api/chat.googleapis.com/hangouts-chat?project=gam-project-298-dic-n00

and complete all fields.

The Google chat API has always been enabled in the GAM project

Regards

Ross Scroggs

unread,
Jul 16, 2024, 10:04:03 AM (18 hours ago) Jul 16
to google-ap...@googlegroups.com

Eduardo Alves

unread,
Jul 16, 2024, 10:47:14 AM (18 hours ago) Jul 16
to GAM for Google Workspace
Hi Ross

Amazing, now it works

To store this history in a csv and send it to the drive, should it be something like the below?

gam user (user) show chatmessages space/AAAA todrive

I received this error

ERROR: Invalid argument
Help: Syntax in file /root/bin/gamadv-xtd3/GamCommands.txt
Help: Documentation is at https://github.com/taers232c/GAMADV-XTD3/wiki

Thank you very much

Ross Scroggs

unread,
Jul 16, 2024, 10:52:26 AM (18 hours ago) Jul 16
to google-ap...@googlegroups.com
todrive is only valid with print
gam user (user) print chatmessages space/AAAA todrive

Ross
----
Ross Scroggs


Eduardo Alves

unread,
Jul 16, 2024, 11:14:22 AM (17 hours ago) Jul 16
to GAM for Google Workspace
everything works Ross, thanks again
Reply all
Reply to author
Forward
0 new messages