跳至主要内容

Package: skirobot

The skirobot package is the protobuf designed for robot messaging client.

Top

skirobot/E2eeRobotService.proto

E2eeRobotService

Method NameRequest TypeResponse TypeDescription
CreateAccountRobotCreateAccountRequest.skissm.RegisterUserResponseaccount
LoginRobotLoginRequest.skiserver.LoginResponse
LogoutRobotLogoutRequest.skiserver.LogoutResponse
InviteRobotInviteRequest.skissm.InviteResponseOne2one
SendOne2oneMsgRobotSendPlainMsgRequestRobotSkissmMsgDTO
CreateGroupRobotCreateGroupRequest.skissm.CreateGroupResponseGroup
AddGroupMembersRobotAddGroupMembersRequest.skissm.AddGroupMembersResponse
RemoveGroupMembersRobotRemoveGroupMembersRequest.skissm.RemoveGroupMembersResponse
UpdateGroupName.skiserver.UpdateGroupNameRequest.skiserver.UpdateGroupNameResponse
JoinGroup.skiserver.JoinGroupRequest.skiserver.JoinGroupResponse
UpdateGroupManagers.skiserver.UpdateGroupManagersRequest.skiserver.UpdateGroupManagersResponse
SendGroupMsgRobotSendPlainMsgRequestRobotSkissmMsgDTO
AddFriendRobotAddFriendRequest.skiserver.AddFriendResponseFriendship
RemoveFriendRobotRemoveFriendRequest.skiserver.RemoveFriendResponse
BlockFriendRobotBlockFriendRequest.skiserver.BlockFriendResponse
UnBlockFriendRobotUnBlockFriendRequest.skiserver.UnBlockFriendResponse
MemoFriendRobotMemoFriendRequest.skiserver.MemoFriendResponse
GetFriendsRobotGetFriendsRequest.skiserver.GetFriendsResponse
GetUser.skiserver.GetUserRequest.skiserver.GetUserResponse
UpdatePushId.skiserver.UpdatePushIdRequest.skiserver.UpdatePushIdResponseSettings
UpdateUserName.skiserver.UpdateUserNameRequest.skiserver.UpdateUserNameResponse
UpdateUserPrivacy.skiserver.UpdateUserPrivacyRequest.skiserver.UpdateUserPrivacyResponse
SendDecryptStatusMsgRobotSendDecryptStatusRequestRobotSendDecryptStatusResponseMisc
SubscribeEventSubscriptionEventNotification streamserver streaming operations

Top

skirobot/EventNotification.proto

EventNotification

FieldTypeLabelDescription
eventEventName
arg_jsonstring

EventName

NameNumberDescription
EVENT_NAME_ON_INITED0
EVENT_NAME_ON_USER_REGISTERED1
EVENT_NAME_ON_INBOUND_SESSION_INVITED2
EVENT_NAME_ON_INBOUND_SESSION_READY3
EVENT_NAME_ON_OUTBOUND_SESSION_READY4
EVENT_NAME_ON_ONE2ONE_MSG_RECEIVED5
EVENT_NAME_ON_OTHER_DEVICE_MSG_RECEIVED6
EVENT_NAME_ON_GROUP_MSG_RECEIVED7
EVENT_NAME_ON_GROUP_CREATED8
EVENT_NAME_ON_GROUP_MEMBERS_ADDED9
EVENT_NAME_ON_GROUP_MEMBERS_REMOVED10
EVENT_NAME_ON_USER_UPDATED11
EVENT_NAME_ON_GROUP_UPDATED12
EVENT_NAME_ON_FRIEND_MANAGER_MSG_RECEIVED13
EVENT_NAME_ON_GROUP_MANAGER_MSG_RECEIVED14
EVENT_NAME_ON_SYSTEM_MANAGER_MSG_RECEIVED15
EVENT_NAME_ON_LOG16

Top

skirobot/EventSubscription.proto

EventSubscription

Top

skirobot/RobotAddFriendRequest.proto

RobotAddFriendRequest

FieldTypeLabelDescription
to_userstring

Top

skirobot/RobotAddGroupMembersRequest.proto

RobotAddGroupMembersRequest

FieldTypeLabelDescription
to_groupstring
adding_membersskissm.GroupMemberrepeated

Top

skirobot/RobotBlockFriendRequest.proto

RobotBlockFriendRequest

FieldTypeLabelDescription
to_userstring

Top

skirobot/RobotCreateAccountRequest.proto

RobotCreateAccountRequest

FieldTypeLabelDescription
usernamestring
user_idstring
authenticatorstring
auth_codestring

Top

skirobot/RobotCreateGroupRequest.proto

RobotCreateGroupRequest

FieldTypeLabelDescription
group_namestring
group_membersskissm.GroupMemberrepeated

Top

skirobot/RobotGetFriendsRequest.proto

RobotGetFriendsRequest

Top

skirobot/RobotGetUserRequest.proto

RobotGetUserRequest

FieldTypeLabelDescription
user_addressstring

Top

skirobot/RobotInviteRequest.proto

RobotInviteRequest

FieldTypeLabelDescription
to_userstring

Top

skirobot/RobotLoginRequest.proto

RobotLoginRequest

FieldTypeLabelDescription
user_addressstring

Top

skirobot/RobotLogoutRequest.proto

RobotLogoutRequest

Top

skirobot/RobotMemoFriendRequest.proto

RobotMemoFriendRequest

FieldTypeLabelDescription
to_userstring
memonamestring

Top

skirobot/RobotRemoveFriendRequest.proto

RobotRemoveFriendRequest

FieldTypeLabelDescription
to_userstring

Top

skirobot/RobotRemoveGroupMembersRequest.proto

RobotRemoveGroupMembersRequest

FieldTypeLabelDescription
to_groupstring
removing_membersskissm.GroupMemberrepeated

Top

skirobot/RobotSendDecryptStatusRequest.proto

RobotSendDecryptStatusRequest

FieldTypeLabelDescription
tostring
msg_idsstringrepeated

Top

skirobot/RobotSendDecryptStatusResponse.proto

RobotSendDecryptStatusResponse

FieldTypeLabelDescription
codeskissm.ResponseCode
msgstring

Top

skirobot/RobotSendPlainMsgRequest.proto

RobotSendPlainMsgRequest

FieldTypeLabelDescription
plain_msgski.PlainMsg
notif_levelskissm.NotifLevel

Top

skirobot/RobotSkissmMsgDTO.proto

RobotSkissmMsgDTO

FieldTypeLabelDescription
po_idstring

Top

skirobot/RobotUnBlockFriendRequest.proto

RobotUnBlockFriendRequest

FieldTypeLabelDescription
to_userstring

Top

skirobot/RobotUpdatePushIdRequest.proto

RobotUpdatePushIdRequest

FieldTypeLabelDescription
push_idstring

Top

skirobot/RobotUpdateUserNameRequest.proto

RobotUpdateUserNameRequest

FieldTypeLabelDescription
usernamestring

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)