-
Notifications
You must be signed in to change notification settings - Fork 70
Description
From Disqus on the docs page @ https://psgsuite.io/Function%20Help/Chat/Send-GSChatMessage/#__comments
Skylar Ragan • 40 minutes ago
Get-GSChatWebhook appears to no longer be a valid function in this module. It seems the key for the webhook value can now be named directly with the webhook parameter.
•Reply•Share ›
Avatar
Nate @ SCRT HQ Mod Skylar Ragan • 36 minutes ago
Hey Skylar Ragan - Any examples or links that show the change in usage? Definitely want to get those cleaned up if I can, but I'm not sure exactly what the alternative you are suggesting is so I have no way to validate that claim.
•Edit•Reply•Share ›
Avatar
Skylar Ragan • a minute ago
So both Example 1 as well as the description for the -Webhook parameter itself suggest getting the webhook URL via the Get-GSChatWebhook command; ie. -webhook (Get-GSChatWebhook RoomName). But when attempting to call Get-GSChatWebhook an error is thrown stating it's not recognized as the name of a cmdlet, function, script file, or operable program. Instead, both Example 2 and Example 3 seem to suggest calling the room name directly; ie. -Webhook RoomName, which I've been able to verify works in the most recent version of the module.
•Reply•Share ›
−
Avatar
Nate @ SCRT HQ Mod Skylar Ragan • a few seconds ago
Got it, that makes sense! I appreciate the details, I may have switched that up to make it easier to use a while back and never updated the documentation to reflect. I'll get that sorted asap!
•Edit•Reply•Share ›