Skip to content

GetChannelMessageRequest

Source code in docs_src/capo_chime_sdk_messaging/types/get_channel_message_request.py
class GetChannelMessageRequest(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 of the message.</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 getting messages in a SubChannel that the user belongs to.</p> </note>"""

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.

message_id instance-attribute

message_id: MessageId

The ID of the message.

sub_channel_id instance-attribute

sub_channel_id: NotRequired[SubChannelId]

The ID of the SubChannel in the request.

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