chat.bsky.convo.defs

class atproto_client.models.chat.bsky.convo.defs.ConvoView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field id: str [Required]

Id.

field last_message: MessageView | models.ChatBskyConvoDefs.DeletedMessageView[models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView] | None = None
field members: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Members.

field muted: bool [Required]

Muted.

field py_type: Literal['chat.bsky.convo.defs#convoView'] = 'chat.bsky.convo.defs#convoView'
field rev: str [Required]

Rev.

field unread_count: int [Required]

Unread count.

class atproto_client.models.chat.bsky.convo.defs.DeletedMessageView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field id: str [Required]

Id.

field py_type: Literal['chat.bsky.convo.defs#deletedMessageView'] = 'chat.bsky.convo.defs#deletedMessageView'
field rev: str [Required]

Rev.

field sender: models.ChatBskyConvoDefs.MessageViewSender [Required]

Sender.

field sent_at: str [Required]

Sent at.

class atproto_client.models.chat.bsky.convo.defs.LogBeginConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field py_type: Literal['chat.bsky.convo.defs#logBeginConvo'] = 'chat.bsky.convo.defs#logBeginConvo'
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogCreateMessage

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field message: MessageView | models.ChatBskyConvoDefs.DeletedMessageView[models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView] [Required]
field py_type: Literal['chat.bsky.convo.defs#logCreateMessage'] = 'chat.bsky.convo.defs#logCreateMessage'
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogDeleteMessage

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field message: MessageView | models.ChatBskyConvoDefs.DeletedMessageView[models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView] [Required]
field py_type: Literal['chat.bsky.convo.defs#logDeleteMessage'] = 'chat.bsky.convo.defs#logDeleteMessage'
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogLeaveConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field py_type: Literal['chat.bsky.convo.defs#logLeaveConvo'] = 'chat.bsky.convo.defs#logLeaveConvo'
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.MessageInput

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field embed: Main[models.AppBskyEmbedRecord.Main] | None = None
field facets: List[models.AppBskyRichtextFacet.Main] | None = None

Annotations of text (mentions, URLs, hashtags, etc).

field py_type: Literal['chat.bsky.convo.defs#messageInput'] = 'chat.bsky.convo.defs#messageInput'
field text: str [Required]

Text.

Constraints:
  • max_length = 10000

class atproto_client.models.chat.bsky.convo.defs.MessageRef

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field did: str [Required]

Did.

field message_id: str [Required]

Message id.

field py_type: Literal['chat.bsky.convo.defs#messageRef'] = 'chat.bsky.convo.defs#messageRef'
class atproto_client.models.chat.bsky.convo.defs.MessageView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field embed: View[models.AppBskyEmbedRecord.View] | None = None
field facets: List[models.AppBskyRichtextFacet.Main] | None = None

Annotations of text (mentions, URLs, hashtags, etc).

field id: str [Required]

Id.

field py_type: Literal['chat.bsky.convo.defs#messageView'] = 'chat.bsky.convo.defs#messageView'
field rev: str [Required]

Rev.

field sender: models.ChatBskyConvoDefs.MessageViewSender [Required]

Sender.

field sent_at: str [Required]

Sent at.

field text: str [Required]

Text.

Constraints:
  • max_length = 10000

class atproto_client.models.chat.bsky.convo.defs.MessageViewSender

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field did: str [Required]

Did.

field py_type: Literal['chat.bsky.convo.defs#messageViewSender'] = 'chat.bsky.convo.defs#messageViewSender'