Admin API / Types
PostChatMessagePayload
UnionChatChannelNotFoundError: the caller cannot read a channel with this ID. ChatChannelsDisabledError: chat channels are off. ChatMessageNotFoundError: the reply target is deleted or in another channel. ChatMessageRejectedError: the account is too new, or the text has a word that is not allowed or looks like spam. UnauthorizedError: the caller cannot post in the channel; requiredRole is the channel's write role when only the role refuses the caller, MODERATOR for mentionEveryone, and null for every other refusal. UserNotFoundError: a mentioned user is not a user that the caller can see.
union PostChatMessagePayload = ChatChannelNotFoundError | ChatChannelsDisabledError | ChatMessageNotFoundError | ChatMessageRejectedError | IdempotencyConflictError | PostChatMessageSuccess | UnauthorizedError | UserNotFoundErrorMembers
ChatChannelNotFoundErrorChatChannelsDisabledErrorChatMessageNotFoundErrorChatMessageRejectedErrorIdempotencyConflictErrorPostChatMessageSuccessUnauthorizedErrorUserNotFoundError