syntax = "proto3"; package wechaty.puppet; option go_package = "github.com/wechaty/go-grpc/wechaty/puppet"; option java_package = "io.github.wechaty.grpc.puppet"; option csharp_namespace = "github.wechaty.grpc.puppet"; enum PayloadType { PAYLOAD_TYPE_UNKNOWN = 0; PAYLOAD_TYPE_MESSAGE = 1; PAYLOAD_TYPE_CONTACT = 2; PAYLOAD_TYPE_ROOM = 3; PAYLOAD_TYPE_ROOM_MEMBER = 4; PAYLOAD_TYPE_FRIENDSHIP = 5; } message StartRequest {} message StartResponse {} message StopRequest {} message StopResponse {} message VersionRequest {} message VersionResponse { string version = 1; } message LogoutRequest {} message LogoutResponse {} message DingRequest { string data = 1; } message DingResponse { /** * Ding has no return value * Puppet should emit a `ding` event when it receives a `ding()` call */ } message DirtyPayloadRequest { PayloadType type = 1; string id = 2; } message DirtyPayloadResponse {}