cai.pb.im.msg.common package¶
IM Message Protocol Buffer Model Category.
This module is used to store all im message protobuf files.
Generate all protobuf file using:
protoc cai/pb/**/*.proto --python_out=. --mypy_out=readable_stubs:.
- Copyright
Copyright (C) 2021-2021 cscs181
- License
AGPL-3.0 or later. See LICENSE for detail.
Submodules¶
cai.pb.im.msg.common.common_pb2 module¶
Generated protocol buffer code.
- class cai.pb.im.msg.common.common_pb2.GroupInfo¶
基类:
google.protobuf.pyext._message.CMessage,google.protobuf.message.Message- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>¶
The
google.protobuf.descriptor.Descriptorfor this message type.
- group_id¶
Field im.msg.common.GroupInfo.group_id
- group_type¶
Field im.msg.common.GroupInfo.group_type
- class cai.pb.im.msg.common.common_pb2.Signature¶
基类:
google.protobuf.pyext._message.CMessage,google.protobuf.message.Message- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>¶
The
google.protobuf.descriptor.Descriptorfor this message type.
- key_type¶
Field im.msg.common.Signature.key_type
- session_app_id¶
Field im.msg.common.Signature.session_app_id
- session_key¶
Field im.msg.common.Signature.session_key
- class cai.pb.im.msg.common.common_pb2.Token¶
基类:
google.protobuf.pyext._message.CMessage,google.protobuf.message.Message- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>¶
The
google.protobuf.descriptor.Descriptorfor this message type.
- buf¶
Field im.msg.common.Token.buf
- c2c_type¶
Field im.msg.common.Token.c2c_type
- service_type¶
Field im.msg.common.Token.service_type
- class cai.pb.im.msg.common.common_pb2.User¶
基类:
google.protobuf.pyext._message.CMessage,google.protobuf.message.Message- DESCRIPTOR = <google.protobuf.pyext._message.MessageDescriptor object>¶
The
google.protobuf.descriptor.Descriptorfor this message type.
- app_id¶
Field im.msg.common.User.app_id
- app_type¶
Field im.msg.common.User.app_type
- client_ip¶
Field im.msg.common.User.client_ip
- equip_key¶
Field im.msg.common.User.equip_key
- instance_id¶
Field im.msg.common.User.instance_id
- language¶
Field im.msg.common.User.language
- phone_number¶
Field im.msg.common.User.phone_number
- platform_id¶
Field im.msg.common.User.platform_id
- uin¶
Field im.msg.common.User.uin
- version¶
Field im.msg.common.User.version