# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: chatto/api/v1/message_types.proto
# Protobuf Python Version: 7.34.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    7,
    34,
    1,
    '',
    'chatto/api/v1/message_types.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from chatto.api.v1 import link_previews_pb2 as chatto_dot_api_dot_v1_dot_link__previews__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!chatto/api/v1/message_types.proto\x12\rchatto.api.v1\x1a!chatto/api/v1/link_previews.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"N\n\x0fMessageAssetUrl\x12\x0b\n\x03url\x18\x01 \x01(\t\x12.\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x86\x01\n\x13MessageVideoVariant\x12\x0f\n\x07quality\x18\x01 \x01(\t\x12\r\n\x05width\x18\x02 \x01(\x05\x12\x0e\n\x06height\x18\x03 \x01(\x05\x12\x0c\n\x04size\x18\x04 \x01(\x03\x12\x31\n\tasset_url\x18\x05 \x01(\x0b\x32\x1e.chatto.api.v1.MessageAssetUrl\"\xab\x02\n\x16MessageVideoProcessing\x12;\n\x06status\x18\x01 \x01(\x0e\x32+.chatto.api.v1.MessageVideoProcessingStatus\x12\x13\n\x0b\x64uration_ms\x18\x02 \x01(\x03\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05\x12\x18\n\x10source_available\x18\x05 \x01(\x08\x12\x13\n\x0breason_code\x18\x06 \x01(\t\x12;\n\x13thumbnail_asset_url\x18\x07 \x01(\x0b\x32\x1e.chatto.api.v1.MessageAssetUrl\x12\x34\n\x08variants\x18\x08 \x03(\x0b\x32\".chatto.api.v1.MessageVideoVariant\"\x97\x02\n\x11MessageAttachment\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x03 \x01(\t\x12\r\n\x05width\x18\x04 \x01(\x05\x12\x0e\n\x06height\x18\x05 \x01(\x05\x12\x31\n\tasset_url\x18\x06 \x01(\x0b\x32\x1e.chatto.api.v1.MessageAssetUrl\x12;\n\x13thumbnail_asset_url\x18\x07 \x01(\x0b\x32\x1e.chatto.api.v1.MessageAssetUrl\x12?\n\x10video_processing\x18\x08 \x01(\x0b\x32%.chatto.api.v1.MessageVideoProcessing\"^\n\x0fMessageReaction\x12\r\n\x05\x65moji\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\x12\x13\n\x0bhas_reacted\x18\x03 \x01(\x08\x12\x18\n\x10preview_user_ids\x18\x04 \x03(\t\"g\n\x11ThreadViewerState\x12\x19\n\x0cis_following\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\nhas_unread\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x0f\n\r_is_followingB\r\n\x0b_has_unread\"\xee\x01\n\rThreadSummary\x12\x1c\n\x14thread_root_event_id\x18\x01 \x01(\t\x12\x13\n\x0breply_count\x18\x02 \x01(\x05\x12\x31\n\rlast_reply_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12$\n\x1cparticipant_preview_user_ids\x18\x04 \x03(\t\x12\x19\n\x11participant_count\x18\x05 \x01(\x05\x12\x36\n\x0cviewer_state\x18\x06 \x01(\x0b\x32 .chatto.api.v1.ThreadViewerState\"\xbf\x05\n\x07Message\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07room_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x61\x63tor_id\x18\x04 \x01(\t\x12\x11\n\x04\x62ody\x18\x05 \x01(\tH\x00\x88\x01\x01\x12\x35\n\x0b\x61ttachments\x18\x06 \x03(\x0b\x32 .chatto.api.v1.MessageAttachment\x12\x30\n\x0clink_preview\x18\x07 \x01(\x0b\x32\x1a.chatto.api.v1.LinkPreview\x12.\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bin_reply_to\x18\t \x01(\t\x12\x1c\n\x14thread_root_event_id\x18\n \x01(\t\x12\x18\n\x10\x65\x63ho_of_event_id\x18\x0b \x01(\t\x12&\n\x1e\x65\x63ho_from_thread_root_event_id\x18\x0c \x01(\t\x12\x1d\n\x15\x63hannel_echo_event_id\x18\r \x01(\t\x12\x31\n\treactions\x18\x13 \x03(\x0b\x32\x1e.chatto.api.v1.MessageReaction\x12,\n\x06thread\x18\x14 \x01(\x0b\x32\x1c.chatto.api.v1.ThreadSummary\x12.\n\ndeleted_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x07\n\x05_bodyJ\x04\x08\x0e\x10\x13R\x0breply_countR\rlast_reply_atR#thread_participant_preview_user_idsR\x18thread_participant_countR\x1aviewer_is_following_thread*\xda\x01\n\x1cMessageVideoProcessingStatus\x12/\n+MESSAGE_VIDEO_PROCESSING_STATUS_UNSPECIFIED\x10\x00\x12.\n*MESSAGE_VIDEO_PROCESSING_STATUS_PROCESSING\x10\x01\x12-\n)MESSAGE_VIDEO_PROCESSING_STATUS_COMPLETED\x10\x02\x12*\n&MESSAGE_VIDEO_PROCESSING_STATUS_FAILED\x10\x03\x62\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chatto.api.v1.message_types_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  DESCRIPTOR._loaded_options = None
  _globals['_MESSAGEVIDEOPROCESSINGSTATUS']._serialized_start=2070
  _globals['_MESSAGEVIDEOPROCESSINGSTATUS']._serialized_end=2288
  _globals['_MESSAGEASSETURL']._serialized_start=120
  _globals['_MESSAGEASSETURL']._serialized_end=198
  _globals['_MESSAGEVIDEOVARIANT']._serialized_start=201
  _globals['_MESSAGEVIDEOVARIANT']._serialized_end=335
  _globals['_MESSAGEVIDEOPROCESSING']._serialized_start=338
  _globals['_MESSAGEVIDEOPROCESSING']._serialized_end=637
  _globals['_MESSAGEATTACHMENT']._serialized_start=640
  _globals['_MESSAGEATTACHMENT']._serialized_end=919
  _globals['_MESSAGEREACTION']._serialized_start=921
  _globals['_MESSAGEREACTION']._serialized_end=1015
  _globals['_THREADVIEWERSTATE']._serialized_start=1017
  _globals['_THREADVIEWERSTATE']._serialized_end=1120
  _globals['_THREADSUMMARY']._serialized_start=1123
  _globals['_THREADSUMMARY']._serialized_end=1361
  _globals['_MESSAGE']._serialized_start=1364
  _globals['_MESSAGE']._serialized_end=2067
# @@protoc_insertion_point(module_scope)
