taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
691 stars 86 forks source link

Chat with gdoc #360

Closed dav1303 closed 1 month ago

dav1303 commented 1 year ago

Hi Ross

When I use this command gam create chatmessage space spaces/AAAAJQd_pxI gdoc user@domain.com name "XXX Installation" I get all the text but unfortunatly the images which are in the doc file are lost in the chat message

thanks

taers232c commented 1 year ago

Send me a Meet/Zoom invitation.

Ross

On Fri, May 5, 2023 at 2:36 AM dav1303 @.***> wrote:

Hi Ross

When I use this command gam create chatmessage space spaces/AAAAJQd_pxI gdoc @.*** name "XXX Installation" I get all the text but unfortunatly the images which are in the doc file are lost in the chat message

thanks

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/360, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL2XVLFKKRSKHAWGAF3XETCYBANCNFSM6AAAAAAXW37PFM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 1 year ago

See: https://developers.google.com/chat/api/reference/rest/v1/spaces.messages#Message

text string Plain-text body of the message. The first link to an image, video, web page, or other preview-able item generates a preview chip.

Unfortunately, when GAM downloads the Google Doc as plain text, Google strips out the links.

Try this with a local file with embedded links.

taers232c commented 1 year ago

Did you have any luck with a local message file with links?