github.com/status-im/status-go@v1.1.0/protocol/protobuf/group_chat_invitation.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "./;protobuf"; 4 package protobuf; 5 6 message GroupChatInvitation { 7 8 // clock Lamport timestamp of the chat message 9 uint64 clock = 1; 10 11 // chat_id the ID of the private group chat the message belongs to, for query efficiency the chat_id is stored in the db even though the 12 // target message also stores the chat_id 13 string chat_id = 2; 14 15 string introduction_message = 3; 16 17 // state of invitation 18 State state = 4; 19 20 enum State { 21 UNKNOWN = 0; 22 REQUEST = 1; 23 REJECTED = 2; 24 APPROVED = 3; 25 } 26 }