CmdID / PowerShell / Cmdlets / Set
Set-CsTeamsGuestMessagingConfiguration
TeamsGuestMessagingConfiguration determines the messaging settings for the guest users. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 16 parameters Its page in the reference
Parameters
-AllowGiphyDetermines if Giphy images are available.-AllowImmersiveReaderDetermines if immersive reader for viewing messages is enabled.-AllowMemesDetermines if memes are available for use.-AllowStickersDetermines if stickers are available for use.-AllowUserChatDetermines if a user is allowed to chat.-AllowUserDeleteChatTurn this setting on to allow users to permanently delete their one-on-one chat, group chat, and meeting chat as participants (this deletes the chat only for them, not other users in the chat).-AllowUserDeleteMessageDetermines if a user is allowed to delete their own messages.-AllowUserEditMessageDetermines if a user is allowed to edit their own messages.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceSuppresses all non-fatal errors.-GiphyRatingTypeDetermines Giphy content restrictions.-Identity-Instance-Tenant-UsersCanDeleteBotMessagesDetermines whether a user is allowed to delete messages sent by bots.-WhatIf, -wiShows what would happen if the cmdlet runs.