Documentation ¶
Index ¶
- Variables
- type AckMessagesRequest
- func (*AckMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AckMessagesRequest) GetHeader() *RequestHeader
- func (x *AckMessagesRequest) GetNotRegistered() bool
- func (*AckMessagesRequest) ProtoMessage()
- func (x *AckMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *AckMessagesRequest) Reset()
- func (x *AckMessagesRequest) String() string
- type AckMessagesResponse
- func (*AckMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AckMessagesResponse) GetHeader() *ResponseHeader
- func (*AckMessagesResponse) ProtoMessage()
- func (x *AckMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *AckMessagesResponse) Reset()
- func (x *AckMessagesResponse) String() string
- type AuthToken
- type ClientInfo
- func (*ClientInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClientInfo) GetApiVersion() int32
- func (x *ClientInfo) GetMajor() int32
- func (x *ClientInfo) GetMinor() int32
- func (x *ClientInfo) GetPlatformType() PlatformType
- func (x *ClientInfo) GetPoint() int32
- func (*ClientInfo) ProtoMessage()
- func (x *ClientInfo) ProtoReflect() protoreflect.Message
- func (x *ClientInfo) Reset()
- func (x *ClientInfo) String() string
- type DeviceInfo
- func (*DeviceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceInfo) GetOs() string
- func (x *DeviceInfo) GetType() int64
- func (x *DeviceInfo) GetUserAgent() string
- func (*DeviceInfo) ProtoMessage()
- func (x *DeviceInfo) ProtoReflect() protoreflect.Message
- func (x *DeviceInfo) Reset()
- func (x *DeviceInfo) String() string
- type EndOfBatchMessage
- type GetWebEncryptionKeyRequest
- func (*GetWebEncryptionKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWebEncryptionKeyRequest) GetHeader() *RequestHeader
- func (*GetWebEncryptionKeyRequest) ProtoMessage()
- func (x *GetWebEncryptionKeyRequest) ProtoReflect() protoreflect.Message
- func (x *GetWebEncryptionKeyRequest) Reset()
- func (x *GetWebEncryptionKeyRequest) String() string
- type GetWebEncryptionKeyResponse
- func (*GetWebEncryptionKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetWebEncryptionKeyResponse) GetEncryptionKey() []byte
- func (x *GetWebEncryptionKeyResponse) GetHeader() *ResponseHeader
- func (*GetWebEncryptionKeyResponse) ProtoMessage()
- func (x *GetWebEncryptionKeyResponse) ProtoReflect() protoreflect.Message
- func (x *GetWebEncryptionKeyResponse) Reset()
- func (x *GetWebEncryptionKeyResponse) String() string
- type ImageUploadRequest
- func (*ImageUploadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImageUploadRequest) GetHeader() *RequestHeader
- func (x *ImageUploadRequest) GetSenderId() *SenderId
- func (*ImageUploadRequest) ProtoMessage()
- func (x *ImageUploadRequest) ProtoReflect() protoreflect.Message
- func (x *ImageUploadRequest) Reset()
- func (x *ImageUploadRequest) String() string
- type ImageUploadResponse
- type InboxMessage
- func (*InboxMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InboxMessage) GetAge() int64
- func (x *InboxMessage) GetExpiredAt() int64
- func (x *InboxMessage) GetMessage() []byte
- func (x *InboxMessage) GetMessageClass() InboxMessage_MessageClass
- func (x *InboxMessage) GetMessageId() string
- func (x *InboxMessage) GetMessageType() InboxMessage_MessageType
- func (x *InboxMessage) GetReceiverId() *SenderId
- func (x *InboxMessage) GetSenderId() *SenderId
- func (x *InboxMessage) GetSenderRegistrationId() []byte
- func (x *InboxMessage) GetServerMessageId() string
- func (x *InboxMessage) GetTimestamp() int64
- func (*InboxMessage) ProtoMessage()
- func (x *InboxMessage) ProtoReflect() protoreflect.Message
- func (x *InboxMessage) Reset()
- func (x *InboxMessage) String() string
- type InboxMessageEncryptedIncoming
- func (*InboxMessageEncryptedIncoming) Descriptor() ([]byte, []int)deprecated
- func (x *InboxMessageEncryptedIncoming) GetSenderId() []byte
- func (x *InboxMessageEncryptedIncoming) GetTextEncoded() []byte
- func (x *InboxMessageEncryptedIncoming) GetTimestamp() int64
- func (*InboxMessageEncryptedIncoming) ProtoMessage()
- func (x *InboxMessageEncryptedIncoming) ProtoReflect() protoreflect.Message
- func (x *InboxMessageEncryptedIncoming) Reset()
- func (x *InboxMessageEncryptedIncoming) String() string
- type InboxMessageMessage
- func (*InboxMessageMessage) Descriptor() ([]byte, []int)deprecated
- func (x *InboxMessageMessage) GetContactId() []byte
- func (x *InboxMessageMessage) GetContentId() []byte
- func (x *InboxMessageMessage) GetMessage() *UnencodedMessage
- func (x *InboxMessageMessage) GetTextEncoded() []byte
- func (x *InboxMessageMessage) GetType() InboxMessageMessage_MessageType
- func (*InboxMessageMessage) ProtoMessage()
- func (x *InboxMessageMessage) ProtoReflect() protoreflect.Message
- func (x *InboxMessageMessage) Reset()
- func (x *InboxMessageMessage) String() string
- type InboxMessageMessage_MessageType
- func (InboxMessageMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x InboxMessageMessage_MessageType) Enum() *InboxMessageMessage_MessageType
- func (InboxMessageMessage_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboxMessageMessage_MessageType) Number() protoreflect.EnumNumber
- func (x InboxMessageMessage_MessageType) String() string
- func (InboxMessageMessage_MessageType) Type() protoreflect.EnumType
- func (x *InboxMessageMessage_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type InboxMessage_MessageClass
- func (InboxMessage_MessageClass) Descriptor() protoreflect.EnumDescriptor
- func (x InboxMessage_MessageClass) Enum() *InboxMessage_MessageClass
- func (InboxMessage_MessageClass) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboxMessage_MessageClass) Number() protoreflect.EnumNumber
- func (x InboxMessage_MessageClass) String() string
- func (InboxMessage_MessageClass) Type() protoreflect.EnumType
- func (x *InboxMessage_MessageClass) UnmarshalJSON(b []byte) errordeprecated
- type InboxMessage_MessageType
- func (InboxMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x InboxMessage_MessageType) Enum() *InboxMessage_MessageType
- func (InboxMessage_MessageType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InboxMessage_MessageType) Number() protoreflect.EnumNumber
- func (x InboxMessage_MessageType) String() string
- func (InboxMessage_MessageType) Type() protoreflect.EnumType
- func (x *InboxMessage_MessageType) UnmarshalJSON(b []byte) errordeprecated
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetEndOfBatch() *EndOfBatchMessage
- func (x *Message) GetInboxMessage() *InboxMessage
- func (x *Message) GetPong() *PongMessage
- func (x *Message) GetStartOfBatch() *StartOfBatchMessage
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type PlatformType
- func (PlatformType) Descriptor() protoreflect.EnumDescriptor
- func (x PlatformType) Enum() *PlatformType
- func (PlatformType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlatformType) Number() protoreflect.EnumNumber
- func (x PlatformType) String() string
- func (PlatformType) Type() protoreflect.EnumType
- func (x *PlatformType) UnmarshalJSON(b []byte) errordeprecated
- type PongMessage
- type PublicKey
- type ReceiveMessagesRequest
- func (*ReceiveMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveMessagesRequest) GetHeader() *RequestHeader
- func (*ReceiveMessagesRequest) ProtoMessage()
- func (x *ReceiveMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ReceiveMessagesRequest) Reset()
- func (x *ReceiveMessagesRequest) String() string
- type ReceiveMessagesResponse
- func (*ReceiveMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveMessagesResponse) GetMessages() []*Message
- func (*ReceiveMessagesResponse) ProtoMessage()
- func (x *ReceiveMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiveMessagesResponse) Reset()
- func (x *ReceiveMessagesResponse) String() string
- type RefreshPhoneRelayRequest
- func (*RefreshPhoneRelayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshPhoneRelayRequest) GetHeader() *RequestHeader
- func (*RefreshPhoneRelayRequest) ProtoMessage()
- func (x *RefreshPhoneRelayRequest) ProtoReflect() protoreflect.Message
- func (x *RefreshPhoneRelayRequest) Reset()
- func (x *RefreshPhoneRelayRequest) String() string
- type RefreshPhoneRelayResponse
- func (*RefreshPhoneRelayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshPhoneRelayResponse) GetHeader() *ResponseHeader
- func (x *RefreshPhoneRelayResponse) GetRetrievalToken() []byte
- func (x *RefreshPhoneRelayResponse) GetRetrievalTokenTtl() int64
- func (*RefreshPhoneRelayResponse) ProtoMessage()
- func (x *RefreshPhoneRelayResponse) ProtoReflect() protoreflect.Message
- func (x *RefreshPhoneRelayResponse) Reset()
- func (x *RefreshPhoneRelayResponse) String() string
- type RegisterData
- type RegisterPhoneRelayRequest
- func (*RegisterPhoneRelayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPhoneRelayRequest) GetHeader() *RequestHeader
- func (x *RegisterPhoneRelayRequest) GetPairingPayload() []byte
- func (x *RegisterPhoneRelayRequest) GetRegisterData() *RegisterData
- func (*RegisterPhoneRelayRequest) ProtoMessage()
- func (x *RegisterPhoneRelayRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterPhoneRelayRequest) Reset()
- func (x *RegisterPhoneRelayRequest) String() string
- type RegisterPhoneRelayResponse
- func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterPhoneRelayResponse) GetHeader() *ResponseHeader
- func (x *RegisterPhoneRelayResponse) GetRegistrationId() []byte
- func (x *RegisterPhoneRelayResponse) GetRetrievalToken() []byte
- func (x *RegisterPhoneRelayResponse) GetRetrievalTokenTtl() int64
- func (x *RegisterPhoneRelayResponse) GetTempAuthToken() *AuthToken
- func (x *RegisterPhoneRelayResponse) GetTempId() *SenderId
- func (*RegisterPhoneRelayResponse) ProtoMessage()
- func (x *RegisterPhoneRelayResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterPhoneRelayResponse) Reset()
- func (x *RegisterPhoneRelayResponse) String() string
- type RegisterRefreshRequest
- func (*RegisterRefreshRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRefreshRequest) GetHeader() *RequestHeader
- func (x *RegisterRefreshRequest) GetId() *SenderId
- func (x *RegisterRefreshRequest) GetIssuedAt() int64
- func (x *RegisterRefreshRequest) GetSignature() []byte
- func (*RegisterRefreshRequest) ProtoMessage()
- func (x *RegisterRefreshRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRefreshRequest) Reset()
- func (x *RegisterRefreshRequest) String() string
- type RegisterRefreshResponse
- func (*RegisterRefreshResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRefreshResponse) GetAuthToken() *AuthToken
- func (x *RegisterRefreshResponse) GetHeader() *ResponseHeader
- func (x *RegisterRefreshResponse) GetRetryWithServerTimestamp() bool
- func (x *RegisterRefreshResponse) GetServerTimestamp() int64
- func (*RegisterRefreshResponse) ProtoMessage()
- func (x *RegisterRefreshResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterRefreshResponse) Reset()
- func (x *RegisterRefreshResponse) String() string
- type RequestHeader
- func (*RequestHeader) Descriptor() ([]byte, []int)deprecated
- func (x *RequestHeader) GetApp() string
- func (x *RequestHeader) GetAuthTokenPayload() []byte
- func (x *RequestHeader) GetClientInfo() *ClientInfo
- func (x *RequestHeader) GetId() string
- func (*RequestHeader) ProtoMessage()
- func (x *RequestHeader) ProtoReflect() protoreflect.Message
- func (x *RequestHeader) Reset()
- func (x *RequestHeader) String() string
- type ResponseHeader
- func (*ResponseHeader) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseHeader) GetRpcGlobalId() uint64
- func (x *ResponseHeader) GetTxnTimestampUsec() int64
- func (*ResponseHeader) ProtoMessage()
- func (x *ResponseHeader) ProtoReflect() protoreflect.Message
- func (x *ResponseHeader) Reset()
- func (x *ResponseHeader) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetDestId() *SenderId
- func (x *SendMessageRequest) GetHeader() *RequestHeader
- func (x *SendMessageRequest) GetMessage() *InboxMessage
- func (x *SendMessageRequest) GetSendAs() *SenderId
- func (x *SendMessageRequest) GetTimeToLive() int64
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetHeader() *ResponseHeader
- func (x *SendMessageResponse) GetTimestamp() int64
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- type SenderId
- func (*SenderId) Descriptor() ([]byte, []int)deprecated
- func (x *SenderId) GetApp() string
- func (x *SenderId) GetId() string
- func (x *SenderId) GetType() SenderId_SenderType
- func (*SenderId) ProtoMessage()
- func (x *SenderId) ProtoReflect() protoreflect.Message
- func (x *SenderId) Reset()
- func (x *SenderId) String() string
- type SenderId_SenderType
- func (SenderId_SenderType) Descriptor() protoreflect.EnumDescriptor
- func (x SenderId_SenderType) Enum() *SenderId_SenderType
- func (SenderId_SenderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SenderId_SenderType) Number() protoreflect.EnumNumber
- func (x SenderId_SenderType) String() string
- func (SenderId_SenderType) Type() protoreflect.EnumType
- func (x *SenderId_SenderType) UnmarshalJSON(b []byte) errordeprecated
- type StartOfBatchMessage
- func (*StartOfBatchMessage) Descriptor() ([]byte, []int)deprecated
- func (x *StartOfBatchMessage) GetCount() int32
- func (*StartOfBatchMessage) ProtoMessage()
- func (x *StartOfBatchMessage) ProtoReflect() protoreflect.Message
- func (x *StartOfBatchMessage) Reset()
- func (x *StartOfBatchMessage) String() string
- type UnencodedMessage
Constants ¶
This section is empty.
Variables ¶
var ( PlatformType_name = map[int32]string{ 0: "PLATFORM_TYPE_UNKNOWN", 1: "ANDROID", 2: "IOS", 3: "PROBER", 4: "TEST", 6: "DESKTOP", } PlatformType_value = map[string]int32{ "PLATFORM_TYPE_UNKNOWN": 0, "ANDROID": 1, "IOS": 2, "PROBER": 3, "TEST": 4, "DESKTOP": 6, } )
Enum value maps for PlatformType.
var ( InboxMessage_MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_UNKNOWN", 1: "MESSAGE_ACK", 2: "FIREBALL", 3: "TACHYON", 4: "BASIC", 5: "GROUP", 6: "DEPRECATED_CALL_CONTROLLER", 7: "USERDATA", 8: "MESSAGE_RECEIPT", 9: "SECURE", 10: "PREKEY_SECURE", 11: "RCS_MESSAGE", 12: "SYSTEM_MESSAGE", 19: "DITTO", } InboxMessage_MessageType_value = map[string]int32{ "MESSAGE_TYPE_UNKNOWN": 0, "MESSAGE_ACK": 1, "FIREBALL": 2, "TACHYON": 3, "BASIC": 4, "GROUP": 5, "DEPRECATED_CALL_CONTROLLER": 6, "USERDATA": 7, "MESSAGE_RECEIPT": 8, "SECURE": 9, "PREKEY_SECURE": 10, "RCS_MESSAGE": 11, "SYSTEM_MESSAGE": 12, "DITTO": 19, } )
Enum value maps for InboxMessage_MessageType.
var ( InboxMessage_MessageClass_name = map[int32]string{ 0: "USER", 1: "SIGNALING", 2: "EPHEMERAL", 3: "STATUS", 4: "NOTIFY", } InboxMessage_MessageClass_value = map[string]int32{ "USER": 0, "SIGNALING": 1, "EPHEMERAL": 2, "STATUS": 3, "NOTIFY": 4, } )
Enum value maps for InboxMessage_MessageClass.
var ( InboxMessageMessage_MessageType_name = map[int32]string{ 2: "SMS", 3: "RCS", 12: "TYPING", 22: "FOCUS", } InboxMessageMessage_MessageType_value = map[string]int32{ "SMS": 2, "RCS": 3, "TYPING": 12, "FOCUS": 22, } )
Enum value maps for InboxMessageMessage_MessageType.
var ( SenderId_SenderType_name = map[int32]string{ 0: "SENDER_TYPE_UNKNOWN", 1: "PHONE_NUMBER", 2: "GROUP_ID", 3: "FIREBALL_BOT", 4: "CALL_CONTROLLER", 5: "SUGGESTER", 6: "FI_ID", 7: "SYSTEM", 13: "DEVICE_ID", 15: "DITTO", } SenderId_SenderType_value = map[string]int32{ "SENDER_TYPE_UNKNOWN": 0, "PHONE_NUMBER": 1, "GROUP_ID": 2, "FIREBALL_BOT": 3, "CALL_CONTROLLER": 4, "SUGGESTER": 5, "FI_ID": 6, "SYSTEM": 7, "DEVICE_ID": 13, "DITTO": 15, } )
Enum value maps for SenderId_SenderType.
var File_google_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AckMessagesRequest ¶
type AckMessagesRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // repeated TODO message_ids = 2; NotRegistered *bool `protobuf:"varint,3,opt,name=not_registered,json=notRegistered" json:"not_registered,omitempty"` // contains filtered or unexported fields }
GIMAckMessagesRequest
func (*AckMessagesRequest) Descriptor
deprecated
func (*AckMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckMessagesRequest.ProtoReflect.Descriptor instead.
func (*AckMessagesRequest) GetHeader ¶
func (x *AckMessagesRequest) GetHeader() *RequestHeader
func (*AckMessagesRequest) GetNotRegistered ¶
func (x *AckMessagesRequest) GetNotRegistered() bool
func (*AckMessagesRequest) ProtoMessage ¶
func (*AckMessagesRequest) ProtoMessage()
func (*AckMessagesRequest) ProtoReflect ¶
func (x *AckMessagesRequest) ProtoReflect() protoreflect.Message
func (*AckMessagesRequest) Reset ¶
func (x *AckMessagesRequest) Reset()
func (*AckMessagesRequest) String ¶
func (x *AckMessagesRequest) String() string
type AckMessagesResponse ¶
type AckMessagesResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // contains filtered or unexported fields }
GIMAckMessagesResponse
func (*AckMessagesResponse) Descriptor
deprecated
func (*AckMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckMessagesResponse.ProtoReflect.Descriptor instead.
func (*AckMessagesResponse) GetHeader ¶
func (x *AckMessagesResponse) GetHeader() *ResponseHeader
func (*AckMessagesResponse) ProtoMessage ¶
func (*AckMessagesResponse) ProtoMessage()
func (*AckMessagesResponse) ProtoReflect ¶
func (x *AckMessagesResponse) ProtoReflect() protoreflect.Message
func (*AckMessagesResponse) Reset ¶
func (x *AckMessagesResponse) Reset()
func (*AckMessagesResponse) String ¶
func (x *AckMessagesResponse) String() string
type AuthToken ¶
type AuthToken struct { Payload []byte `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` ExpiresIn *int64 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn" json:"expires_in,omitempty"` // contains filtered or unexported fields }
func (*AuthToken) Descriptor
deprecated
func (*AuthToken) GetExpiresIn ¶
func (*AuthToken) GetPayload ¶
func (*AuthToken) ProtoMessage ¶
func (*AuthToken) ProtoMessage()
func (*AuthToken) ProtoReflect ¶
func (x *AuthToken) ProtoReflect() protoreflect.Message
type ClientInfo ¶
type ClientInfo struct { //optional string name = 1; //optional string platform = 2; Major *int32 `protobuf:"varint,3,opt,name=major" json:"major,omitempty"` Minor *int32 `protobuf:"varint,4,opt,name=minor" json:"minor,omitempty"` Point *int32 `protobuf:"varint,5,opt,name=point" json:"point,omitempty"` // optional string details = 6; ApiVersion *int32 `protobuf:"varint,7,opt,name=api_version,json=apiVersion" json:"api_version,omitempty"` //4 //optional type node = 8; PlatformType *PlatformType `protobuf:"varint,9,opt,name=platform_type,json=platformType,enum=PlatformType" json:"platform_type,omitempty"` // contains filtered or unexported fields }
func (*ClientInfo) Descriptor
deprecated
func (*ClientInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead.
func (*ClientInfo) GetApiVersion ¶
func (x *ClientInfo) GetApiVersion() int32
func (*ClientInfo) GetMajor ¶
func (x *ClientInfo) GetMajor() int32
func (*ClientInfo) GetMinor ¶
func (x *ClientInfo) GetMinor() int32
func (*ClientInfo) GetPlatformType ¶
func (x *ClientInfo) GetPlatformType() PlatformType
func (*ClientInfo) GetPoint ¶
func (x *ClientInfo) GetPoint() int32
func (*ClientInfo) ProtoMessage ¶
func (*ClientInfo) ProtoMessage()
func (*ClientInfo) ProtoReflect ¶
func (x *ClientInfo) ProtoReflect() protoreflect.Message
func (*ClientInfo) Reset ¶
func (x *ClientInfo) Reset()
func (*ClientInfo) String ¶
func (x *ClientInfo) String() string
type DeviceInfo ¶
type DeviceInfo struct { UserAgent *string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"` Type *int64 `protobuf:"varint,2,opt,name=type" json:"type,omitempty"` //something? Os *string `protobuf:"bytes,3,opt,name=os" json:"os,omitempty"` // contains filtered or unexported fields }
func (*DeviceInfo) Descriptor
deprecated
func (*DeviceInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeviceInfo.ProtoReflect.Descriptor instead.
func (*DeviceInfo) GetOs ¶
func (x *DeviceInfo) GetOs() string
func (*DeviceInfo) GetType ¶
func (x *DeviceInfo) GetType() int64
func (*DeviceInfo) GetUserAgent ¶
func (x *DeviceInfo) GetUserAgent() string
func (*DeviceInfo) ProtoMessage ¶
func (*DeviceInfo) ProtoMessage()
func (*DeviceInfo) ProtoReflect ¶
func (x *DeviceInfo) ProtoReflect() protoreflect.Message
func (*DeviceInfo) Reset ¶
func (x *DeviceInfo) Reset()
func (*DeviceInfo) String ¶
func (x *DeviceInfo) String() string
type EndOfBatchMessage ¶
type EndOfBatchMessage struct {
// contains filtered or unexported fields
}
func (*EndOfBatchMessage) Descriptor
deprecated
func (*EndOfBatchMessage) Descriptor() ([]byte, []int)
Deprecated: Use EndOfBatchMessage.ProtoReflect.Descriptor instead.
func (*EndOfBatchMessage) ProtoMessage ¶
func (*EndOfBatchMessage) ProtoMessage()
func (*EndOfBatchMessage) ProtoReflect ¶
func (x *EndOfBatchMessage) ProtoReflect() protoreflect.Message
func (*EndOfBatchMessage) Reset ¶
func (x *EndOfBatchMessage) Reset()
func (*EndOfBatchMessage) String ¶
func (x *EndOfBatchMessage) String() string
type GetWebEncryptionKeyRequest ¶
type GetWebEncryptionKeyRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // contains filtered or unexported fields }
func (*GetWebEncryptionKeyRequest) Descriptor
deprecated
func (*GetWebEncryptionKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWebEncryptionKeyRequest.ProtoReflect.Descriptor instead.
func (*GetWebEncryptionKeyRequest) GetHeader ¶
func (x *GetWebEncryptionKeyRequest) GetHeader() *RequestHeader
func (*GetWebEncryptionKeyRequest) ProtoMessage ¶
func (*GetWebEncryptionKeyRequest) ProtoMessage()
func (*GetWebEncryptionKeyRequest) ProtoReflect ¶
func (x *GetWebEncryptionKeyRequest) ProtoReflect() protoreflect.Message
func (*GetWebEncryptionKeyRequest) Reset ¶
func (x *GetWebEncryptionKeyRequest) Reset()
func (*GetWebEncryptionKeyRequest) String ¶
func (x *GetWebEncryptionKeyRequest) String() string
type GetWebEncryptionKeyResponse ¶
type GetWebEncryptionKeyResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` EncryptionKey []byte `protobuf:"bytes,2,opt,name=encryption_key,json=encryptionKey" json:"encryption_key,omitempty"` // contains filtered or unexported fields }
func (*GetWebEncryptionKeyResponse) Descriptor
deprecated
func (*GetWebEncryptionKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetWebEncryptionKeyResponse.ProtoReflect.Descriptor instead.
func (*GetWebEncryptionKeyResponse) GetEncryptionKey ¶
func (x *GetWebEncryptionKeyResponse) GetEncryptionKey() []byte
func (*GetWebEncryptionKeyResponse) GetHeader ¶
func (x *GetWebEncryptionKeyResponse) GetHeader() *ResponseHeader
func (*GetWebEncryptionKeyResponse) ProtoMessage ¶
func (*GetWebEncryptionKeyResponse) ProtoMessage()
func (*GetWebEncryptionKeyResponse) ProtoReflect ¶
func (x *GetWebEncryptionKeyResponse) ProtoReflect() protoreflect.Message
func (*GetWebEncryptionKeyResponse) Reset ¶
func (x *GetWebEncryptionKeyResponse) Reset()
func (*GetWebEncryptionKeyResponse) String ¶
func (x *GetWebEncryptionKeyResponse) String() string
type ImageUploadRequest ¶
type ImageUploadRequest struct { //optional int32 something = 1; Header *RequestHeader `protobuf:"bytes,2,opt,name=header" json:"header,omitempty"` SenderId *SenderId `protobuf:"bytes,3,opt,name=sender_id,json=senderId" json:"sender_id,omitempty"` // contains filtered or unexported fields }
func (*ImageUploadRequest) Descriptor
deprecated
func (*ImageUploadRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImageUploadRequest.ProtoReflect.Descriptor instead.
func (*ImageUploadRequest) GetHeader ¶
func (x *ImageUploadRequest) GetHeader() *RequestHeader
func (*ImageUploadRequest) GetSenderId ¶
func (x *ImageUploadRequest) GetSenderId() *SenderId
func (*ImageUploadRequest) ProtoMessage ¶
func (*ImageUploadRequest) ProtoMessage()
func (*ImageUploadRequest) ProtoReflect ¶
func (x *ImageUploadRequest) ProtoReflect() protoreflect.Message
func (*ImageUploadRequest) Reset ¶
func (x *ImageUploadRequest) Reset()
func (*ImageUploadRequest) String ¶
func (x *ImageUploadRequest) String() string
type ImageUploadResponse ¶
type ImageUploadResponse struct {
// contains filtered or unexported fields
}
func (*ImageUploadResponse) Descriptor
deprecated
func (*ImageUploadResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImageUploadResponse.ProtoReflect.Descriptor instead.
func (*ImageUploadResponse) ProtoMessage ¶
func (*ImageUploadResponse) ProtoMessage()
func (*ImageUploadResponse) ProtoReflect ¶
func (x *ImageUploadResponse) ProtoReflect() protoreflect.Message
func (*ImageUploadResponse) Reset ¶
func (x *ImageUploadResponse) Reset()
func (*ImageUploadResponse) String ¶
func (x *ImageUploadResponse) String() string
type InboxMessage ¶
type InboxMessage struct { MessageId *string `protobuf:"bytes,1,opt,name=message_id,json=messageId" json:"message_id,omitempty"` MessageType *InboxMessage_MessageType `protobuf:"varint,2,opt,name=message_type,json=messageType,enum=InboxMessage_MessageType" json:"message_type,omitempty"` Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` MessageClass *InboxMessage_MessageClass `protobuf:"varint,5,opt,name=message_class,json=messageClass,enum=InboxMessage_MessageClass" json:"message_class,omitempty"` ExpiredAt *int64 `protobuf:"varint,6,opt,name=expired_at,json=expiredAt" json:"expired_at,omitempty"` Age *int64 `protobuf:"varint,7,opt,name=age" json:"age,omitempty"` SenderId *SenderId `protobuf:"bytes,8,opt,name=sender_id,json=senderId" json:"sender_id,omitempty"` ReceiverId *SenderId `protobuf:"bytes,9,opt,name=receiver_id,json=receiverId" json:"receiver_id,omitempty"` //optional SenderId group_id = 10; //optional InboxMessageMessage message = 12; // sent as bytes for json Message []byte `protobuf:"bytes,12,opt,name=message" json:"message,omitempty"` // sent as base64 for json //original_message_id = 14; //group_size = 15; //from_same_user = 16; SenderRegistrationId []byte `protobuf:"bytes,17,opt,name=sender_registration_id,json=senderRegistrationId" json:"sender_registration_id,omitempty"` //spam_evaluation = 18; //push_notification = 19; //violation = 20; ServerMessageId *string `protobuf:"bytes,21,opt,name=server_message_id,json=serverMessageId" json:"server_message_id,omitempty"` //in_spam_sync_path = 22; // contains filtered or unexported fields }
func (*InboxMessage) Descriptor
deprecated
func (*InboxMessage) Descriptor() ([]byte, []int)
Deprecated: Use InboxMessage.ProtoReflect.Descriptor instead.
func (*InboxMessage) GetAge ¶
func (x *InboxMessage) GetAge() int64
func (*InboxMessage) GetExpiredAt ¶
func (x *InboxMessage) GetExpiredAt() int64
func (*InboxMessage) GetMessage ¶
func (x *InboxMessage) GetMessage() []byte
func (*InboxMessage) GetMessageClass ¶
func (x *InboxMessage) GetMessageClass() InboxMessage_MessageClass
func (*InboxMessage) GetMessageId ¶
func (x *InboxMessage) GetMessageId() string
func (*InboxMessage) GetMessageType ¶
func (x *InboxMessage) GetMessageType() InboxMessage_MessageType
func (*InboxMessage) GetReceiverId ¶
func (x *InboxMessage) GetReceiverId() *SenderId
func (*InboxMessage) GetSenderId ¶
func (x *InboxMessage) GetSenderId() *SenderId
func (*InboxMessage) GetSenderRegistrationId ¶
func (x *InboxMessage) GetSenderRegistrationId() []byte
func (*InboxMessage) GetServerMessageId ¶
func (x *InboxMessage) GetServerMessageId() string
func (*InboxMessage) GetTimestamp ¶
func (x *InboxMessage) GetTimestamp() int64
func (*InboxMessage) ProtoMessage ¶
func (*InboxMessage) ProtoMessage()
func (*InboxMessage) ProtoReflect ¶
func (x *InboxMessage) ProtoReflect() protoreflect.Message
func (*InboxMessage) Reset ¶
func (x *InboxMessage) Reset()
func (*InboxMessage) String ¶
func (x *InboxMessage) String() string
type InboxMessageEncryptedIncoming ¶
type InboxMessageEncryptedIncoming struct { SenderId []byte `protobuf:"bytes,1,opt,name=sender_id,json=senderId" json:"sender_id,omitempty"` Timestamp *int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` //optional int32 unknown_enum = 4; //3, 16 //optional int32 unknown_enum = 6; // might be 1 for 'outgoing' //optional int32 unknown_enum = 7; TextEncoded []byte `protobuf:"bytes,8,opt,name=text_encoded,json=textEncoded" json:"text_encoded,omitempty"` // contains filtered or unexported fields }
func (*InboxMessageEncryptedIncoming) Descriptor
deprecated
func (*InboxMessageEncryptedIncoming) Descriptor() ([]byte, []int)
Deprecated: Use InboxMessageEncryptedIncoming.ProtoReflect.Descriptor instead.
func (*InboxMessageEncryptedIncoming) GetSenderId ¶
func (x *InboxMessageEncryptedIncoming) GetSenderId() []byte
func (*InboxMessageEncryptedIncoming) GetTextEncoded ¶
func (x *InboxMessageEncryptedIncoming) GetTextEncoded() []byte
func (*InboxMessageEncryptedIncoming) GetTimestamp ¶
func (x *InboxMessageEncryptedIncoming) GetTimestamp() int64
func (*InboxMessageEncryptedIncoming) ProtoMessage ¶
func (*InboxMessageEncryptedIncoming) ProtoMessage()
func (*InboxMessageEncryptedIncoming) ProtoReflect ¶
func (x *InboxMessageEncryptedIncoming) ProtoReflect() protoreflect.Message
func (*InboxMessageEncryptedIncoming) Reset ¶
func (x *InboxMessageEncryptedIncoming) Reset()
func (*InboxMessageEncryptedIncoming) String ¶
func (x *InboxMessageEncryptedIncoming) String() string
type InboxMessageMessage ¶
type InboxMessageMessage struct { ContentId []byte `protobuf:"bytes,1,opt,name=content_id,json=contentId" json:"content_id,omitempty"` //maybe who we're receiving from? Type *InboxMessageMessage_MessageType `protobuf:"varint,2,opt,name=type,enum=InboxMessageMessage_MessageType" json:"type,omitempty"` Message *UnencodedMessage `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"` TextEncoded []byte `protobuf:"bytes,5,opt,name=text_encoded,json=textEncoded" json:"text_encoded,omitempty"` ContactId []byte `protobuf:"bytes,6,opt,name=contact_id,json=contactId" json:"contact_id,omitempty"` //maybe who we're sending to? // contains filtered or unexported fields }
used when sending
func (*InboxMessageMessage) Descriptor
deprecated
func (*InboxMessageMessage) Descriptor() ([]byte, []int)
Deprecated: Use InboxMessageMessage.ProtoReflect.Descriptor instead.
func (*InboxMessageMessage) GetContactId ¶
func (x *InboxMessageMessage) GetContactId() []byte
func (*InboxMessageMessage) GetContentId ¶
func (x *InboxMessageMessage) GetContentId() []byte
func (*InboxMessageMessage) GetMessage ¶
func (x *InboxMessageMessage) GetMessage() *UnencodedMessage
func (*InboxMessageMessage) GetTextEncoded ¶
func (x *InboxMessageMessage) GetTextEncoded() []byte
func (*InboxMessageMessage) GetType ¶
func (x *InboxMessageMessage) GetType() InboxMessageMessage_MessageType
func (*InboxMessageMessage) ProtoMessage ¶
func (*InboxMessageMessage) ProtoMessage()
func (*InboxMessageMessage) ProtoReflect ¶
func (x *InboxMessageMessage) ProtoReflect() protoreflect.Message
func (*InboxMessageMessage) Reset ¶
func (x *InboxMessageMessage) Reset()
func (*InboxMessageMessage) String ¶
func (x *InboxMessageMessage) String() string
type InboxMessageMessage_MessageType ¶
type InboxMessageMessage_MessageType int32
const ( InboxMessageMessage_SMS InboxMessageMessage_MessageType = 2 InboxMessageMessage_RCS InboxMessageMessage_MessageType = 3 InboxMessageMessage_TYPING InboxMessageMessage_MessageType = 12 // sent every 5 seconds, with ephermal class InboxMessageMessage_FOCUS InboxMessageMessage_MessageType = 22 )
func (InboxMessageMessage_MessageType) Descriptor ¶
func (InboxMessageMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
func (InboxMessageMessage_MessageType) Enum ¶
func (x InboxMessageMessage_MessageType) Enum() *InboxMessageMessage_MessageType
func (InboxMessageMessage_MessageType) EnumDescriptor
deprecated
func (InboxMessageMessage_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboxMessageMessage_MessageType.Descriptor instead.
func (InboxMessageMessage_MessageType) Number ¶
func (x InboxMessageMessage_MessageType) Number() protoreflect.EnumNumber
func (InboxMessageMessage_MessageType) String ¶
func (x InboxMessageMessage_MessageType) String() string
func (InboxMessageMessage_MessageType) Type ¶
func (InboxMessageMessage_MessageType) Type() protoreflect.EnumType
func (*InboxMessageMessage_MessageType) UnmarshalJSON
deprecated
func (x *InboxMessageMessage_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type InboxMessage_MessageClass ¶
type InboxMessage_MessageClass int32
const ( InboxMessage_USER InboxMessage_MessageClass = 0 InboxMessage_SIGNALING InboxMessage_MessageClass = 1 InboxMessage_EPHEMERAL InboxMessage_MessageClass = 2 InboxMessage_STATUS InboxMessage_MessageClass = 3 InboxMessage_NOTIFY InboxMessage_MessageClass = 4 )
func (InboxMessage_MessageClass) Descriptor ¶
func (InboxMessage_MessageClass) Descriptor() protoreflect.EnumDescriptor
func (InboxMessage_MessageClass) Enum ¶
func (x InboxMessage_MessageClass) Enum() *InboxMessage_MessageClass
func (InboxMessage_MessageClass) EnumDescriptor
deprecated
func (InboxMessage_MessageClass) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboxMessage_MessageClass.Descriptor instead.
func (InboxMessage_MessageClass) Number ¶
func (x InboxMessage_MessageClass) Number() protoreflect.EnumNumber
func (InboxMessage_MessageClass) String ¶
func (x InboxMessage_MessageClass) String() string
func (InboxMessage_MessageClass) Type ¶
func (InboxMessage_MessageClass) Type() protoreflect.EnumType
func (*InboxMessage_MessageClass) UnmarshalJSON
deprecated
func (x *InboxMessage_MessageClass) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type InboxMessage_MessageType ¶
type InboxMessage_MessageType int32
const ( InboxMessage_MESSAGE_TYPE_UNKNOWN InboxMessage_MessageType = 0 InboxMessage_MESSAGE_ACK InboxMessage_MessageType = 1 InboxMessage_FIREBALL InboxMessage_MessageType = 2 InboxMessage_TACHYON InboxMessage_MessageType = 3 InboxMessage_BASIC InboxMessage_MessageType = 4 InboxMessage_GROUP InboxMessage_MessageType = 5 InboxMessage_DEPRECATED_CALL_CONTROLLER InboxMessage_MessageType = 6 InboxMessage_USERDATA InboxMessage_MessageType = 7 InboxMessage_MESSAGE_RECEIPT InboxMessage_MessageType = 8 InboxMessage_SECURE InboxMessage_MessageType = 9 InboxMessage_PREKEY_SECURE InboxMessage_MessageType = 10 InboxMessage_RCS_MESSAGE InboxMessage_MessageType = 11 InboxMessage_SYSTEM_MESSAGE InboxMessage_MessageType = 12 InboxMessage_DITTO InboxMessage_MessageType = 19 )
func (InboxMessage_MessageType) Descriptor ¶
func (InboxMessage_MessageType) Descriptor() protoreflect.EnumDescriptor
func (InboxMessage_MessageType) Enum ¶
func (x InboxMessage_MessageType) Enum() *InboxMessage_MessageType
func (InboxMessage_MessageType) EnumDescriptor
deprecated
func (InboxMessage_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboxMessage_MessageType.Descriptor instead.
func (InboxMessage_MessageType) Number ¶
func (x InboxMessage_MessageType) Number() protoreflect.EnumNumber
func (InboxMessage_MessageType) String ¶
func (x InboxMessage_MessageType) String() string
func (InboxMessage_MessageType) Type ¶
func (InboxMessage_MessageType) Type() protoreflect.EnumType
func (*InboxMessage_MessageType) UnmarshalJSON
deprecated
func (x *InboxMessage_MessageType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Message ¶
type Message struct { // oneof: StartOfBatch *StartOfBatchMessage `protobuf:"bytes,4,opt,name=start_of_batch,json=startOfBatch" json:"start_of_batch,omitempty"` EndOfBatch *EndOfBatchMessage `protobuf:"bytes,5,opt,name=end_of_batch,json=endOfBatch" json:"end_of_batch,omitempty"` Pong *PongMessage `protobuf:"bytes,3,opt,name=pong" json:"pong,omitempty"` InboxMessage *InboxMessage `protobuf:"bytes,2,opt,name=inbox_message,json=inboxMessage" json:"inbox_message,omitempty"` //optional GIMReceiveMessagesResponse_RefreshResult refresh_result = 6; // contains filtered or unexported fields }
GIMReceiveMessagesResponse
func (*Message) Descriptor
deprecated
func (*Message) GetEndOfBatch ¶
func (x *Message) GetEndOfBatch() *EndOfBatchMessage
func (*Message) GetInboxMessage ¶
func (x *Message) GetInboxMessage() *InboxMessage
func (*Message) GetPong ¶
func (x *Message) GetPong() *PongMessage
func (*Message) GetStartOfBatch ¶
func (x *Message) GetStartOfBatch() *StartOfBatchMessage
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type PlatformType ¶
type PlatformType int32
const ( PlatformType_PLATFORM_TYPE_UNKNOWN PlatformType = 0 PlatformType_ANDROID PlatformType = 1 PlatformType_IOS PlatformType = 2 PlatformType_PROBER PlatformType = 3 PlatformType_TEST PlatformType = 4 PlatformType_DESKTOP PlatformType = 6 )
func (PlatformType) Descriptor ¶
func (PlatformType) Descriptor() protoreflect.EnumDescriptor
func (PlatformType) Enum ¶
func (x PlatformType) Enum() *PlatformType
func (PlatformType) EnumDescriptor
deprecated
func (PlatformType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlatformType.Descriptor instead.
func (PlatformType) Number ¶
func (x PlatformType) Number() protoreflect.EnumNumber
func (PlatformType) String ¶
func (x PlatformType) String() string
func (PlatformType) Type ¶
func (PlatformType) Type() protoreflect.EnumType
func (*PlatformType) UnmarshalJSON
deprecated
func (x *PlatformType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type PongMessage ¶
type PongMessage struct {
// contains filtered or unexported fields
}
func (*PongMessage) Descriptor
deprecated
func (*PongMessage) Descriptor() ([]byte, []int)
Deprecated: Use PongMessage.ProtoReflect.Descriptor instead.
func (*PongMessage) ProtoMessage ¶
func (*PongMessage) ProtoMessage()
func (*PongMessage) ProtoReflect ¶
func (x *PongMessage) ProtoReflect() protoreflect.Message
func (*PongMessage) Reset ¶
func (x *PongMessage) Reset()
func (*PongMessage) String ¶
func (x *PongMessage) String() string
type PublicKey ¶
type PublicKey struct { Type *int32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` // contains filtered or unexported fields }
func (*PublicKey) Descriptor
deprecated
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) ProtoReflect ¶
func (x *PublicKey) ProtoReflect() protoreflect.Message
type ReceiveMessagesRequest ¶
type ReceiveMessagesRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // contains filtered or unexported fields }
func (*ReceiveMessagesRequest) Descriptor
deprecated
func (*ReceiveMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveMessagesRequest.ProtoReflect.Descriptor instead.
func (*ReceiveMessagesRequest) GetHeader ¶
func (x *ReceiveMessagesRequest) GetHeader() *RequestHeader
func (*ReceiveMessagesRequest) ProtoMessage ¶
func (*ReceiveMessagesRequest) ProtoMessage()
func (*ReceiveMessagesRequest) ProtoReflect ¶
func (x *ReceiveMessagesRequest) ProtoReflect() protoreflect.Message
func (*ReceiveMessagesRequest) Reset ¶
func (x *ReceiveMessagesRequest) Reset()
func (*ReceiveMessagesRequest) String ¶
func (x *ReceiveMessagesRequest) String() string
type ReceiveMessagesResponse ¶
type ReceiveMessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"` // continue = 15? // contains filtered or unexported fields }
func (*ReceiveMessagesResponse) Descriptor
deprecated
func (*ReceiveMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReceiveMessagesResponse.ProtoReflect.Descriptor instead.
func (*ReceiveMessagesResponse) GetMessages ¶
func (x *ReceiveMessagesResponse) GetMessages() []*Message
func (*ReceiveMessagesResponse) ProtoMessage ¶
func (*ReceiveMessagesResponse) ProtoMessage()
func (*ReceiveMessagesResponse) ProtoReflect ¶
func (x *ReceiveMessagesResponse) ProtoReflect() protoreflect.Message
func (*ReceiveMessagesResponse) Reset ¶
func (x *ReceiveMessagesResponse) Reset()
func (*ReceiveMessagesResponse) String ¶
func (x *ReceiveMessagesResponse) String() string
type RefreshPhoneRelayRequest ¶
type RefreshPhoneRelayRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` // contains filtered or unexported fields }
func (*RefreshPhoneRelayRequest) Descriptor
deprecated
func (*RefreshPhoneRelayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RefreshPhoneRelayRequest.ProtoReflect.Descriptor instead.
func (*RefreshPhoneRelayRequest) GetHeader ¶
func (x *RefreshPhoneRelayRequest) GetHeader() *RequestHeader
func (*RefreshPhoneRelayRequest) ProtoMessage ¶
func (*RefreshPhoneRelayRequest) ProtoMessage()
func (*RefreshPhoneRelayRequest) ProtoReflect ¶
func (x *RefreshPhoneRelayRequest) ProtoReflect() protoreflect.Message
func (*RefreshPhoneRelayRequest) Reset ¶
func (x *RefreshPhoneRelayRequest) Reset()
func (*RefreshPhoneRelayRequest) String ¶
func (x *RefreshPhoneRelayRequest) String() string
type RefreshPhoneRelayResponse ¶
type RefreshPhoneRelayResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` RetrievalToken []byte `protobuf:"bytes,2,opt,name=retrieval_token,json=retrievalToken" json:"retrieval_token,omitempty"` RetrievalTokenTtl *int64 `protobuf:"varint,3,opt,name=retrieval_token_ttl,json=retrievalTokenTtl" json:"retrieval_token_ttl,omitempty"` // contains filtered or unexported fields }
func (*RefreshPhoneRelayResponse) Descriptor
deprecated
func (*RefreshPhoneRelayResponse) Descriptor() ([]byte, []int)
Deprecated: Use RefreshPhoneRelayResponse.ProtoReflect.Descriptor instead.
func (*RefreshPhoneRelayResponse) GetHeader ¶
func (x *RefreshPhoneRelayResponse) GetHeader() *ResponseHeader
func (*RefreshPhoneRelayResponse) GetRetrievalToken ¶
func (x *RefreshPhoneRelayResponse) GetRetrievalToken() []byte
func (*RefreshPhoneRelayResponse) GetRetrievalTokenTtl ¶
func (x *RefreshPhoneRelayResponse) GetRetrievalTokenTtl() int64
func (*RefreshPhoneRelayResponse) ProtoMessage ¶
func (*RefreshPhoneRelayResponse) ProtoMessage()
func (*RefreshPhoneRelayResponse) ProtoReflect ¶
func (x *RefreshPhoneRelayResponse) ProtoReflect() protoreflect.Message
func (*RefreshPhoneRelayResponse) Reset ¶
func (x *RefreshPhoneRelayResponse) Reset()
func (*RefreshPhoneRelayResponse) String ¶
func (x *RefreshPhoneRelayResponse) String() string
type RegisterData ¶
type RegisterData struct { PublicKey *PublicKey `protobuf:"bytes,6,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // contains filtered or unexported fields }
func (*RegisterData) Descriptor
deprecated
func (*RegisterData) Descriptor() ([]byte, []int)
Deprecated: Use RegisterData.ProtoReflect.Descriptor instead.
func (*RegisterData) GetPublicKey ¶
func (x *RegisterData) GetPublicKey() *PublicKey
func (*RegisterData) ProtoMessage ¶
func (*RegisterData) ProtoMessage()
func (*RegisterData) ProtoReflect ¶
func (x *RegisterData) ProtoReflect() protoreflect.Message
func (*RegisterData) Reset ¶
func (x *RegisterData) Reset()
func (*RegisterData) String ¶
func (x *RegisterData) String() string
type RegisterPhoneRelayRequest ¶
type RegisterPhoneRelayRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` //optional DeviceInfo device_info = 3; //bytes pairing_payload PairingPayload []byte `protobuf:"bytes,3,opt,name=pairing_payload,json=pairingPayload" json:"pairing_payload,omitempty"` //DeviceInfo RegisterData *RegisterData `protobuf:"bytes,4,opt,name=register_data,json=registerData" json:"register_data,omitempty"` // contains filtered or unexported fields }
func (*RegisterPhoneRelayRequest) Descriptor
deprecated
func (*RegisterPhoneRelayRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPhoneRelayRequest.ProtoReflect.Descriptor instead.
func (*RegisterPhoneRelayRequest) GetHeader ¶
func (x *RegisterPhoneRelayRequest) GetHeader() *RequestHeader
func (*RegisterPhoneRelayRequest) GetPairingPayload ¶
func (x *RegisterPhoneRelayRequest) GetPairingPayload() []byte
func (*RegisterPhoneRelayRequest) GetRegisterData ¶
func (x *RegisterPhoneRelayRequest) GetRegisterData() *RegisterData
func (*RegisterPhoneRelayRequest) ProtoMessage ¶
func (*RegisterPhoneRelayRequest) ProtoMessage()
func (*RegisterPhoneRelayRequest) ProtoReflect ¶
func (x *RegisterPhoneRelayRequest) ProtoReflect() protoreflect.Message
func (*RegisterPhoneRelayRequest) Reset ¶
func (x *RegisterPhoneRelayRequest) Reset()
func (*RegisterPhoneRelayRequest) String ¶
func (x *RegisterPhoneRelayRequest) String() string
type RegisterPhoneRelayResponse ¶
type RegisterPhoneRelayResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` TempId *SenderId `protobuf:"bytes,2,opt,name=temp_id,json=tempId" json:"temp_id,omitempty"` RetrievalToken []byte `protobuf:"bytes,3,opt,name=retrieval_token,json=retrievalToken" json:"retrieval_token,omitempty"` RetrievalTokenTtl *int64 `protobuf:"varint,4,opt,name=retrieval_token_ttl,json=retrievalTokenTtl" json:"retrieval_token_ttl,omitempty"` TempAuthToken *AuthToken `protobuf:"bytes,5,opt,name=temp_auth_token,json=tempAuthToken" json:"temp_auth_token,omitempty"` RegistrationId []byte `protobuf:"bytes,6,opt,name=registration_id,json=registrationId" json:"registration_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterPhoneRelayResponse) Descriptor
deprecated
func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterPhoneRelayResponse.ProtoReflect.Descriptor instead.
func (*RegisterPhoneRelayResponse) GetHeader ¶
func (x *RegisterPhoneRelayResponse) GetHeader() *ResponseHeader
func (*RegisterPhoneRelayResponse) GetRegistrationId ¶
func (x *RegisterPhoneRelayResponse) GetRegistrationId() []byte
func (*RegisterPhoneRelayResponse) GetRetrievalToken ¶
func (x *RegisterPhoneRelayResponse) GetRetrievalToken() []byte
func (*RegisterPhoneRelayResponse) GetRetrievalTokenTtl ¶
func (x *RegisterPhoneRelayResponse) GetRetrievalTokenTtl() int64
func (*RegisterPhoneRelayResponse) GetTempAuthToken ¶
func (x *RegisterPhoneRelayResponse) GetTempAuthToken() *AuthToken
func (*RegisterPhoneRelayResponse) GetTempId ¶
func (x *RegisterPhoneRelayResponse) GetTempId() *SenderId
func (*RegisterPhoneRelayResponse) ProtoMessage ¶
func (*RegisterPhoneRelayResponse) ProtoMessage()
func (*RegisterPhoneRelayResponse) ProtoReflect ¶
func (x *RegisterPhoneRelayResponse) ProtoReflect() protoreflect.Message
func (*RegisterPhoneRelayResponse) Reset ¶
func (x *RegisterPhoneRelayResponse) Reset()
func (*RegisterPhoneRelayResponse) String ¶
func (x *RegisterPhoneRelayResponse) String() string
type RegisterRefreshRequest ¶
type RegisterRefreshRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Id *SenderId `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` IssuedAt *int64 `protobuf:"varint,3,opt,name=issued_at,json=issuedAt" json:"issued_at,omitempty"` Signature []byte `protobuf:"bytes,4,opt,name=signature" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RegisterRefreshRequest) Descriptor
deprecated
func (*RegisterRefreshRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRefreshRequest.ProtoReflect.Descriptor instead.
func (*RegisterRefreshRequest) GetHeader ¶
func (x *RegisterRefreshRequest) GetHeader() *RequestHeader
func (*RegisterRefreshRequest) GetId ¶
func (x *RegisterRefreshRequest) GetId() *SenderId
func (*RegisterRefreshRequest) GetIssuedAt ¶
func (x *RegisterRefreshRequest) GetIssuedAt() int64
func (*RegisterRefreshRequest) GetSignature ¶
func (x *RegisterRefreshRequest) GetSignature() []byte
func (*RegisterRefreshRequest) ProtoMessage ¶
func (*RegisterRefreshRequest) ProtoMessage()
func (*RegisterRefreshRequest) ProtoReflect ¶
func (x *RegisterRefreshRequest) ProtoReflect() protoreflect.Message
func (*RegisterRefreshRequest) Reset ¶
func (x *RegisterRefreshRequest) Reset()
func (*RegisterRefreshRequest) String ¶
func (x *RegisterRefreshRequest) String() string
type RegisterRefreshResponse ¶
type RegisterRefreshResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` AuthToken *AuthToken `protobuf:"bytes,2,opt,name=auth_token,json=authToken" json:"auth_token,omitempty"` RetryWithServerTimestamp *bool `` /* 131-byte string literal not displayed */ ServerTimestamp *int64 `protobuf:"varint,4,opt,name=server_timestamp,json=serverTimestamp" json:"server_timestamp,omitempty"` // contains filtered or unexported fields }
func (*RegisterRefreshResponse) Descriptor
deprecated
func (*RegisterRefreshResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRefreshResponse.ProtoReflect.Descriptor instead.
func (*RegisterRefreshResponse) GetAuthToken ¶
func (x *RegisterRefreshResponse) GetAuthToken() *AuthToken
func (*RegisterRefreshResponse) GetHeader ¶
func (x *RegisterRefreshResponse) GetHeader() *ResponseHeader
func (*RegisterRefreshResponse) GetRetryWithServerTimestamp ¶
func (x *RegisterRefreshResponse) GetRetryWithServerTimestamp() bool
func (*RegisterRefreshResponse) GetServerTimestamp ¶
func (x *RegisterRefreshResponse) GetServerTimestamp() int64
func (*RegisterRefreshResponse) ProtoMessage ¶
func (*RegisterRefreshResponse) ProtoMessage()
func (*RegisterRefreshResponse) ProtoReflect ¶
func (x *RegisterRefreshResponse) ProtoReflect() protoreflect.Message
func (*RegisterRefreshResponse) Reset ¶
func (x *RegisterRefreshResponse) Reset()
func (*RegisterRefreshResponse) String ¶
func (x *RegisterRefreshResponse) String() string
type RequestHeader ¶
type RequestHeader struct { Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` App *string `protobuf:"bytes,3,opt,name=app" json:"app,omitempty"` //optional string user_agent = 4; AuthTokenPayload []byte `protobuf:"bytes,6,opt,name=auth_token_payload,json=authTokenPayload" json:"auth_token_payload,omitempty"` ClientInfo *ClientInfo `protobuf:"bytes,7,opt,name=client_info,json=clientInfo" json:"client_info,omitempty"` // contains filtered or unexported fields }
func (*RequestHeader) Descriptor
deprecated
func (*RequestHeader) Descriptor() ([]byte, []int)
Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead.
func (*RequestHeader) GetApp ¶
func (x *RequestHeader) GetApp() string
func (*RequestHeader) GetAuthTokenPayload ¶
func (x *RequestHeader) GetAuthTokenPayload() []byte
func (*RequestHeader) GetClientInfo ¶
func (x *RequestHeader) GetClientInfo() *ClientInfo
func (*RequestHeader) GetId ¶
func (x *RequestHeader) GetId() string
func (*RequestHeader) ProtoMessage ¶
func (*RequestHeader) ProtoMessage()
func (*RequestHeader) ProtoReflect ¶
func (x *RequestHeader) ProtoReflect() protoreflect.Message
func (*RequestHeader) Reset ¶
func (x *RequestHeader) Reset()
func (*RequestHeader) String ¶
func (x *RequestHeader) String() string
type ResponseHeader ¶
type ResponseHeader struct { RpcGlobalId *uint64 `protobuf:"varint,2,opt,name=rpc_global_id,json=rpcGlobalId" json:"rpc_global_id,omitempty"` TxnTimestampUsec *int64 `protobuf:"varint,4,opt,name=txn_timestamp_usec,json=txnTimestampUsec" json:"txn_timestamp_usec,omitempty"` // contains filtered or unexported fields }
func (*ResponseHeader) Descriptor
deprecated
func (*ResponseHeader) Descriptor() ([]byte, []int)
Deprecated: Use ResponseHeader.ProtoReflect.Descriptor instead.
func (*ResponseHeader) GetRpcGlobalId ¶
func (x *ResponseHeader) GetRpcGlobalId() uint64
func (*ResponseHeader) GetTxnTimestampUsec ¶
func (x *ResponseHeader) GetTxnTimestampUsec() int64
func (*ResponseHeader) ProtoMessage ¶
func (*ResponseHeader) ProtoMessage()
func (*ResponseHeader) ProtoReflect ¶
func (x *ResponseHeader) ProtoReflect() protoreflect.Message
func (*ResponseHeader) Reset ¶
func (x *ResponseHeader) Reset()
func (*ResponseHeader) String ¶
func (x *ResponseHeader) String() string
type SendMessageRequest ¶
type SendMessageRequest struct { DestId *SenderId `protobuf:"bytes,1,opt,name=dest_id,json=destId" json:"dest_id,omitempty"` Message *InboxMessage `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` Header *RequestHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"` TimeToLive *int64 `protobuf:"varint,5,opt,name=time_to_live,json=timeToLive" json:"time_to_live,omitempty"` SendAs *SenderId `protobuf:"bytes,7,opt,name=send_as,json=sendAs" json:"send_as,omitempty"` // contains filtered or unexported fields }
GIMInboxSendRequest
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetDestId ¶
func (x *SendMessageRequest) GetDestId() *SenderId
func (*SendMessageRequest) GetHeader ¶
func (x *SendMessageRequest) GetHeader() *RequestHeader
func (*SendMessageRequest) GetMessage ¶
func (x *SendMessageRequest) GetMessage() *InboxMessage
func (*SendMessageRequest) GetSendAs ¶
func (x *SendMessageRequest) GetSendAs() *SenderId
func (*SendMessageRequest) GetTimeToLive ¶
func (x *SendMessageRequest) GetTimeToLive() int64
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SendMessageResponse ¶
type SendMessageResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header" json:"header,omitempty"` Timestamp *int64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetHeader ¶
func (x *SendMessageResponse) GetHeader() *ResponseHeader
func (*SendMessageResponse) GetTimestamp ¶
func (x *SendMessageResponse) GetTimestamp() int64
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
type SenderId ¶
type SenderId struct { Type *SenderId_SenderType `protobuf:"varint,1,opt,name=type,enum=SenderId_SenderType" json:"type,omitempty"` Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` App *string `protobuf:"bytes,3,opt,name=app" json:"app,omitempty"` // contains filtered or unexported fields }
aka GIMId might be "ParticipantId"
func (*SenderId) Descriptor
deprecated
func (*SenderId) GetType ¶
func (x *SenderId) GetType() SenderId_SenderType
func (*SenderId) ProtoMessage ¶
func (*SenderId) ProtoMessage()
func (*SenderId) ProtoReflect ¶
func (x *SenderId) ProtoReflect() protoreflect.Message
type SenderId_SenderType ¶
type SenderId_SenderType int32
const ( SenderId_SENDER_TYPE_UNKNOWN SenderId_SenderType = 0 SenderId_PHONE_NUMBER SenderId_SenderType = 1 SenderId_GROUP_ID SenderId_SenderType = 2 SenderId_FIREBALL_BOT SenderId_SenderType = 3 SenderId_CALL_CONTROLLER SenderId_SenderType = 4 SenderId_SUGGESTER SenderId_SenderType = 5 SenderId_FI_ID SenderId_SenderType = 6 SenderId_SYSTEM SenderId_SenderType = 7 SenderId_DEVICE_ID SenderId_SenderType = 13 SenderId_DITTO SenderId_SenderType = 15 )
func (SenderId_SenderType) Descriptor ¶
func (SenderId_SenderType) Descriptor() protoreflect.EnumDescriptor
func (SenderId_SenderType) Enum ¶
func (x SenderId_SenderType) Enum() *SenderId_SenderType
func (SenderId_SenderType) EnumDescriptor
deprecated
func (SenderId_SenderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SenderId_SenderType.Descriptor instead.
func (SenderId_SenderType) Number ¶
func (x SenderId_SenderType) Number() protoreflect.EnumNumber
func (SenderId_SenderType) String ¶
func (x SenderId_SenderType) String() string
func (SenderId_SenderType) Type ¶
func (SenderId_SenderType) Type() protoreflect.EnumType
func (*SenderId_SenderType) UnmarshalJSON
deprecated
func (x *SenderId_SenderType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type StartOfBatchMessage ¶
type StartOfBatchMessage struct { Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` // contains filtered or unexported fields }
func (*StartOfBatchMessage) Descriptor
deprecated
func (*StartOfBatchMessage) Descriptor() ([]byte, []int)
Deprecated: Use StartOfBatchMessage.ProtoReflect.Descriptor instead.
func (*StartOfBatchMessage) GetCount ¶
func (x *StartOfBatchMessage) GetCount() int32
func (*StartOfBatchMessage) ProtoMessage ¶
func (*StartOfBatchMessage) ProtoMessage()
func (*StartOfBatchMessage) ProtoReflect ¶
func (x *StartOfBatchMessage) ProtoReflect() protoreflect.Message
func (*StartOfBatchMessage) Reset ¶
func (x *StartOfBatchMessage) Reset()
func (*StartOfBatchMessage) String ¶
func (x *StartOfBatchMessage) String() string
type UnencodedMessage ¶
type UnencodedMessage struct {
// contains filtered or unexported fields
}
func (*UnencodedMessage) Descriptor
deprecated
func (*UnencodedMessage) Descriptor() ([]byte, []int)
Deprecated: Use UnencodedMessage.ProtoReflect.Descriptor instead.
func (*UnencodedMessage) ProtoMessage ¶
func (*UnencodedMessage) ProtoMessage()
func (*UnencodedMessage) ProtoReflect ¶
func (x *UnencodedMessage) ProtoReflect() protoreflect.Message
func (*UnencodedMessage) Reset ¶
func (x *UnencodedMessage) Reset()
func (*UnencodedMessage) String ¶
func (x *UnencodedMessage) String() string