Skip to content

UpdateChannelMessageRequest

Source code in docs_src/capo_chime_sdk_messaging/types/update_channel_message_request.py
class UpdateChannelMessageRequest(TypedDict, closed=True):
    channel_arn: "capo_chime_sdk_messaging.types.chime_arn.ChimeArn"
    """<p>The ARN of the channel.</p>"""
    message_id: "capo_chime_sdk_messaging.types.message_id.MessageId"
    """<p>The ID string of the message being updated.</p>"""
    content: "capo_chime_sdk_messaging.types.non_empty_content.NonEmptyContent"
    """<p>The content of the channel message. </p>"""
    metadata: NotRequired["capo_chime_sdk_messaging.types.metadata.Metadata"]
    """<p>The metadata of the message being updated.</p>"""
    chime_bearer: "capo_chime_sdk_messaging.types.chime_arn.ChimeArn"
    """<p>The ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call.</p>"""
    sub_channel_id: NotRequired[
        "capo_chime_sdk_messaging.types.sub_channel_id.SubChannelId"
    ]
    """<p>The ID of the SubChannel in the request.</p> <note> <p>Only required when updating messages in a SubChannel that the user belongs to.</p> </note>"""
    content_type: NotRequired["capo_chime_sdk_messaging.types.content_type.ContentType"]
    """<p>The content type of the channel message.</p>"""

channel_arn instance-attribute

channel_arn: ChimeArn

The ARN of the channel.

chime_bearer instance-attribute

chime_bearer: ChimeArn

The ARN of the AppInstanceUser or AppInstanceBot that makes the API call.

content instance-attribute

content: NonEmptyContent

The content of the channel message.

content_type instance-attribute

content_type: NotRequired[ContentType]

The content type of the channel message.

message_id instance-attribute

message_id: MessageId

The ID string of the message being updated.

metadata instance-attribute

metadata: NotRequired[Metadata]

The metadata of the message being updated.

sub_channel_id instance-attribute

sub_channel_id: NotRequired[SubChannelId]

The ID of the SubChannel in the request.

Only required when updating messages in a SubChannel that the user belongs to.