Documentation
¶
Index ¶
- Variables
- type Contact
- func (p *Contact) GetAttributes() int32
- func (p *Contact) GetCapableBuddy() bool
- func (p *Contact) GetCapableMyhome() bool
- func (p *Contact) GetCapableVideoCall() bool
- func (p *Contact) GetCapableVoiceCall() bool
- func (p *Contact) GetCreatedTime() int64
- func (p *Contact) GetDisplayName() string
- func (p *Contact) GetDisplayNameOverridden() string
- func (p *Contact) GetFavoriteTime() int64
- func (p *Contact) GetMid() string
- func (p *Contact) GetPhoneticName() string
- func (p *Contact) GetPicturePath() string
- func (p *Contact) GetPictureStatus() string
- func (p *Contact) GetRelation() ContactRelation
- func (p *Contact) GetSettings() int64
- func (p *Contact) GetStatus() ContactStatus
- func (p *Contact) GetStatusMessage() string
- func (p *Contact) GetThumbnailUrl() string
- func (p *Contact) GetTypeA1() ContactType
- func (p *Contact) Read(iprot thrift.TProtocol) error
- func (p *Contact) ReadField1(iprot thrift.TProtocol) error
- func (p *Contact) ReadField10(iprot thrift.TProtocol) error
- func (p *Contact) ReadField11(iprot thrift.TProtocol) error
- func (p *Contact) ReadField2(iprot thrift.TProtocol) error
- func (p *Contact) ReadField21(iprot thrift.TProtocol) error
- func (p *Contact) ReadField22(iprot thrift.TProtocol) error
- func (p *Contact) ReadField23(iprot thrift.TProtocol) error
- func (p *Contact) ReadField24(iprot thrift.TProtocol) error
- func (p *Contact) ReadField25(iprot thrift.TProtocol) error
- func (p *Contact) ReadField26(iprot thrift.TProtocol) error
- func (p *Contact) ReadField27(iprot thrift.TProtocol) error
- func (p *Contact) ReadField28(iprot thrift.TProtocol) error
- func (p *Contact) ReadField31(iprot thrift.TProtocol) error
- func (p *Contact) ReadField32(iprot thrift.TProtocol) error
- func (p *Contact) ReadField33(iprot thrift.TProtocol) error
- func (p *Contact) ReadField34(iprot thrift.TProtocol) error
- func (p *Contact) ReadField35(iprot thrift.TProtocol) error
- func (p *Contact) ReadField36(iprot thrift.TProtocol) error
- func (p *Contact) ReadField37(iprot thrift.TProtocol) error
- func (p *Contact) String() string
- func (p *Contact) Write(oprot thrift.TProtocol) error
- type ContactRelation
- type ContactSetting
- type ContactStatus
- type ContactType
- type ContentType
- type ErrorCode
- type FetchMessageOperationsArgs
- func (p *FetchMessageOperationsArgs) GetCount() int32
- func (p *FetchMessageOperationsArgs) GetLastOpTimestamp() int64
- func (p *FetchMessageOperationsArgs) GetLocalRevision() int64
- func (p *FetchMessageOperationsArgs) Read(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsArgs) ReadField4(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsArgs) String() string
- func (p *FetchMessageOperationsArgs) Write(oprot thrift.TProtocol) error
- type FetchMessageOperationsResult
- func (p *FetchMessageOperationsResult) GetE() *TalkException
- func (p *FetchMessageOperationsResult) GetSuccess() *MessageOperations
- func (p *FetchMessageOperationsResult) IsSetE() bool
- func (p *FetchMessageOperationsResult) IsSetSuccess() bool
- func (p *FetchMessageOperationsResult) Read(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *FetchMessageOperationsResult) String() string
- func (p *FetchMessageOperationsResult) Write(oprot thrift.TProtocol) error
- type FetchOperationsArgs
- func (p *FetchOperationsArgs) GetCount() int32
- func (p *FetchOperationsArgs) GetLocalRev() int64
- func (p *FetchOperationsArgs) Read(iprot thrift.TProtocol) error
- func (p *FetchOperationsArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *FetchOperationsArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *FetchOperationsArgs) String() string
- func (p *FetchOperationsArgs) Write(oprot thrift.TProtocol) error
- type FetchOperationsResult
- func (p *FetchOperationsResult) GetE() *TalkException
- func (p *FetchOperationsResult) GetSuccess() []*Operation
- func (p *FetchOperationsResult) IsSetE() bool
- func (p *FetchOperationsResult) IsSetSuccess() bool
- func (p *FetchOperationsResult) Read(iprot thrift.TProtocol) error
- func (p *FetchOperationsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FetchOperationsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *FetchOperationsResult) String() string
- func (p *FetchOperationsResult) Write(oprot thrift.TProtocol) error
- type FindAndAddContactsByMidArgs
- func (p *FindAndAddContactsByMidArgs) GetMid() string
- func (p *FindAndAddContactsByMidArgs) GetReqSeq() int32
- func (p *FindAndAddContactsByMidArgs) Read(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidArgs) String() string
- func (p *FindAndAddContactsByMidArgs) Write(oprot thrift.TProtocol) error
- type FindAndAddContactsByMidResult
- func (p *FindAndAddContactsByMidResult) GetE() *TalkException
- func (p *FindAndAddContactsByMidResult) GetSuccess() map[string]*Contact
- func (p *FindAndAddContactsByMidResult) IsSetE() bool
- func (p *FindAndAddContactsByMidResult) IsSetSuccess() bool
- func (p *FindAndAddContactsByMidResult) Read(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidResult) ReadField1(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByMidResult) String() string
- func (p *FindAndAddContactsByMidResult) Write(oprot thrift.TProtocol) error
- type FindAndAddContactsByUseridArgs
- func (p *FindAndAddContactsByUseridArgs) GetReqSeq() int32
- func (p *FindAndAddContactsByUseridArgs) GetUserid() string
- func (p *FindAndAddContactsByUseridArgs) Read(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridArgs) String() string
- func (p *FindAndAddContactsByUseridArgs) Write(oprot thrift.TProtocol) error
- type FindAndAddContactsByUseridResult
- func (p *FindAndAddContactsByUseridResult) GetE() *TalkException
- func (p *FindAndAddContactsByUseridResult) GetSuccess() map[string]*Contact
- func (p *FindAndAddContactsByUseridResult) IsSetE() bool
- func (p *FindAndAddContactsByUseridResult) IsSetSuccess() bool
- func (p *FindAndAddContactsByUseridResult) Read(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridResult) ReadField1(iprot thrift.TProtocol) error
- func (p *FindAndAddContactsByUseridResult) String() string
- func (p *FindAndAddContactsByUseridResult) Write(oprot thrift.TProtocol) error
- type GetAllContactIdsArgs
- type GetAllContactIdsResult
- func (p *GetAllContactIdsResult) GetE() *TalkException
- func (p *GetAllContactIdsResult) GetSuccess() []string
- func (p *GetAllContactIdsResult) IsSetE() bool
- func (p *GetAllContactIdsResult) IsSetSuccess() bool
- func (p *GetAllContactIdsResult) Read(iprot thrift.TProtocol) error
- func (p *GetAllContactIdsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetAllContactIdsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetAllContactIdsResult) String() string
- func (p *GetAllContactIdsResult) Write(oprot thrift.TProtocol) error
- type GetContactsArgs
- type GetContactsResult
- func (p *GetContactsResult) GetE() *TalkException
- func (p *GetContactsResult) GetSuccess() []*Contact
- func (p *GetContactsResult) IsSetE() bool
- func (p *GetContactsResult) IsSetSuccess() bool
- func (p *GetContactsResult) Read(iprot thrift.TProtocol) error
- func (p *GetContactsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetContactsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetContactsResult) String() string
- func (p *GetContactsResult) Write(oprot thrift.TProtocol) error
- type GetLastOpRevisionArgs
- type GetLastOpRevisionResult
- func (p *GetLastOpRevisionResult) GetE() *TalkException
- func (p *GetLastOpRevisionResult) GetSuccess() int64
- func (p *GetLastOpRevisionResult) IsSetE() bool
- func (p *GetLastOpRevisionResult) IsSetSuccess() bool
- func (p *GetLastOpRevisionResult) Read(iprot thrift.TProtocol) error
- func (p *GetLastOpRevisionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetLastOpRevisionResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetLastOpRevisionResult) String() string
- func (p *GetLastOpRevisionResult) Write(oprot thrift.TProtocol) error
- type GetLastReadMessageIdsArgs
- func (p *GetLastReadMessageIdsArgs) GetChatId() string
- func (p *GetLastReadMessageIdsArgs) Read(iprot thrift.TProtocol) error
- func (p *GetLastReadMessageIdsArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *GetLastReadMessageIdsArgs) String() string
- func (p *GetLastReadMessageIdsArgs) Write(oprot thrift.TProtocol) error
- type GetLastReadMessageIdsResult
- func (p *GetLastReadMessageIdsResult) GetE() *TalkException
- func (p *GetLastReadMessageIdsResult) GetSuccess() *LastReadMessageIds
- func (p *GetLastReadMessageIdsResult) IsSetE() bool
- func (p *GetLastReadMessageIdsResult) IsSetSuccess() bool
- func (p *GetLastReadMessageIdsResult) Read(iprot thrift.TProtocol) error
- func (p *GetLastReadMessageIdsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetLastReadMessageIdsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetLastReadMessageIdsResult) String() string
- func (p *GetLastReadMessageIdsResult) Write(oprot thrift.TProtocol) error
- type GetMessageBoxCompactWrapUpListArgs
- func (p *GetMessageBoxCompactWrapUpListArgs) GetMessageBoxCount() int32
- func (p *GetMessageBoxCompactWrapUpListArgs) GetStart() int32
- func (p *GetMessageBoxCompactWrapUpListArgs) Read(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListArgs) String() string
- func (p *GetMessageBoxCompactWrapUpListArgs) Write(oprot thrift.TProtocol) error
- type GetMessageBoxCompactWrapUpListResult
- func (p *GetMessageBoxCompactWrapUpListResult) GetE() *TalkException
- func (p *GetMessageBoxCompactWrapUpListResult) GetSuccess() *TMessageBoxWrapUpResponse
- func (p *GetMessageBoxCompactWrapUpListResult) IsSetE() bool
- func (p *GetMessageBoxCompactWrapUpListResult) IsSetSuccess() bool
- func (p *GetMessageBoxCompactWrapUpListResult) Read(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetMessageBoxCompactWrapUpListResult) String() string
- func (p *GetMessageBoxCompactWrapUpListResult) Write(oprot thrift.TProtocol) error
- type GetProfileArgs
- type GetProfileResult
- func (p *GetProfileResult) GetE() *TalkException
- func (p *GetProfileResult) GetSuccess() *Profile
- func (p *GetProfileResult) IsSetE() bool
- func (p *GetProfileResult) IsSetSuccess() bool
- func (p *GetProfileResult) Read(iprot thrift.TProtocol) error
- func (p *GetProfileResult) ReadField0(iprot thrift.TProtocol) error
- func (p *GetProfileResult) ReadField1(iprot thrift.TProtocol) error
- func (p *GetProfileResult) String() string
- func (p *GetProfileResult) Write(oprot thrift.TProtocol) error
- type IdentityProvider
- type LastReadMessageId
- func (p *LastReadMessageId) GetLastReadMessageId() string
- func (p *LastReadMessageId) GetMid() string
- func (p *LastReadMessageId) Read(iprot thrift.TProtocol) error
- func (p *LastReadMessageId) ReadField1(iprot thrift.TProtocol) error
- func (p *LastReadMessageId) ReadField2(iprot thrift.TProtocol) error
- func (p *LastReadMessageId) String() string
- func (p *LastReadMessageId) Write(oprot thrift.TProtocol) error
- type LastReadMessageIds
- func (p *LastReadMessageIds) GetChatId() string
- func (p *LastReadMessageIds) GetLastReadMessageIds() []*LastReadMessageId
- func (p *LastReadMessageIds) Read(iprot thrift.TProtocol) error
- func (p *LastReadMessageIds) ReadField1(iprot thrift.TProtocol) error
- func (p *LastReadMessageIds) ReadField2(iprot thrift.TProtocol) error
- func (p *LastReadMessageIds) String() string
- func (p *LastReadMessageIds) Write(oprot thrift.TProtocol) error
- type Location
- func (p *Location) GetAddress() string
- func (p *Location) GetLatitude() float64
- func (p *Location) GetLongitude() float64
- func (p *Location) GetPhone() string
- func (p *Location) GetTitle() string
- func (p *Location) Read(iprot thrift.TProtocol) error
- func (p *Location) ReadField1(iprot thrift.TProtocol) error
- func (p *Location) ReadField2(iprot thrift.TProtocol) error
- func (p *Location) ReadField3(iprot thrift.TProtocol) error
- func (p *Location) ReadField4(iprot thrift.TProtocol) error
- func (p *Location) ReadField5(iprot thrift.TProtocol) error
- func (p *Location) String() string
- func (p *Location) Write(oprot thrift.TProtocol) error
- type LoginResultType
- type LoginResult_
- func (p *LoginResult_) GetAuthToken() string
- func (p *LoginResult_) GetCertificate() string
- func (p *LoginResult_) GetPinCode() string
- func (p *LoginResult_) GetTypeA1() LoginResultType
- func (p *LoginResult_) GetVerifier() string
- func (p *LoginResult_) Read(iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField3(iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField4(iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField5(iprot thrift.TProtocol) error
- func (p *LoginResult_) String() string
- func (p *LoginResult_) Write(oprot thrift.TProtocol) error
- type LoginWithIdentityCredentialForCertificateArgs
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetAccessLocation() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetCertificate() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetIdentifier() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetIdentityProvider() IdentityProvider
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetKeepLoggedIn() bool
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetPassword() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) GetSystemName() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) Read(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField4(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField5(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField6(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField7(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField8(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField9(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateArgs) String() string
- func (p *LoginWithIdentityCredentialForCertificateArgs) Write(oprot thrift.TProtocol) error
- type LoginWithIdentityCredentialForCertificateResult
- func (p *LoginWithIdentityCredentialForCertificateResult) GetE() *TalkException
- func (p *LoginWithIdentityCredentialForCertificateResult) GetSuccess() *LoginResult_
- func (p *LoginWithIdentityCredentialForCertificateResult) IsSetE() bool
- func (p *LoginWithIdentityCredentialForCertificateResult) IsSetSuccess() bool
- func (p *LoginWithIdentityCredentialForCertificateResult) Read(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateResult) ReadField0(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateResult) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginWithIdentityCredentialForCertificateResult) String() string
- func (p *LoginWithIdentityCredentialForCertificateResult) Write(oprot thrift.TProtocol) error
- type LoginWithVerifierForCertificateArgs
- func (p *LoginWithVerifierForCertificateArgs) GetVerifier() string
- func (p *LoginWithVerifierForCertificateArgs) Read(iprot thrift.TProtocol) error
- func (p *LoginWithVerifierForCertificateArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *LoginWithVerifierForCertificateArgs) String() string
- func (p *LoginWithVerifierForCertificateArgs) Write(oprot thrift.TProtocol) error
- type LoginWithVerifierForCertificateResult
- func (p *LoginWithVerifierForCertificateResult) GetE() *TalkException
- func (p *LoginWithVerifierForCertificateResult) GetSuccess() *LoginResult_
- func (p *LoginWithVerifierForCertificateResult) IsSetE() bool
- func (p *LoginWithVerifierForCertificateResult) IsSetSuccess() bool
- func (p *LoginWithVerifierForCertificateResult) Read(iprot thrift.TProtocol) error
- func (p *LoginWithVerifierForCertificateResult) ReadField0(iprot thrift.TProtocol) error
- func (p *LoginWithVerifierForCertificateResult) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginWithVerifierForCertificateResult) String() string
- func (p *LoginWithVerifierForCertificateResult) Write(oprot thrift.TProtocol) error
- type MIDType
- type Message
- func (p *Message) GetContentMetadata() map[string]string
- func (p *Message) GetContentPreview() []byte
- func (p *Message) GetContentType() ContentType
- func (p *Message) GetCreatedTime() int64
- func (p *Message) GetDeliveredTime() int64
- func (p *Message) GetFrom() string
- func (p *Message) GetHasContent() bool
- func (p *Message) GetId() string
- func (p *Message) GetLocation() *Location
- func (p *Message) GetText() string
- func (p *Message) GetTo() string
- func (p *Message) GetToType() MIDType
- func (p *Message) IsSetLocation() bool
- func (p *Message) Read(iprot thrift.TProtocol) error
- func (p *Message) ReadField1(iprot thrift.TProtocol) error
- func (p *Message) ReadField10(iprot thrift.TProtocol) error
- func (p *Message) ReadField11(iprot thrift.TProtocol) error
- func (p *Message) ReadField14(iprot thrift.TProtocol) error
- func (p *Message) ReadField15(iprot thrift.TProtocol) error
- func (p *Message) ReadField17(iprot thrift.TProtocol) error
- func (p *Message) ReadField18(iprot thrift.TProtocol) error
- func (p *Message) ReadField2(iprot thrift.TProtocol) error
- func (p *Message) ReadField3(iprot thrift.TProtocol) error
- func (p *Message) ReadField4(iprot thrift.TProtocol) error
- func (p *Message) ReadField5(iprot thrift.TProtocol) error
- func (p *Message) ReadField6(iprot thrift.TProtocol) error
- func (p *Message) String() string
- func (p *Message) Write(oprot thrift.TProtocol) error
- type MessageOperation
- func (p *MessageOperation) GetCreatedTime() int64
- func (p *MessageOperation) GetMessage() *Message
- func (p *MessageOperation) GetParam1() string
- func (p *MessageOperation) GetParam2() string
- func (p *MessageOperation) GetParam3() string
- func (p *MessageOperation) GetReqSeq() int32
- func (p *MessageOperation) GetRevision() int64
- func (p *MessageOperation) GetStatus() OpStatus
- func (p *MessageOperation) GetTypeA1() MessageOperationType
- func (p *MessageOperation) IsSetMessage() bool
- func (p *MessageOperation) Read(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField10(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField11(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField12(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField2(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField20(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField3(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField4(iprot thrift.TProtocol) error
- func (p *MessageOperation) ReadField5(iprot thrift.TProtocol) error
- func (p *MessageOperation) String() string
- func (p *MessageOperation) Write(oprot thrift.TProtocol) error
- type MessageOperationType
- type MessageOperations
- func (p *MessageOperations) GetEndFlag() bool
- func (p *MessageOperations) GetOperations() []*MessageOperation
- func (p *MessageOperations) Read(iprot thrift.TProtocol) error
- func (p *MessageOperations) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageOperations) ReadField2(iprot thrift.TProtocol) error
- func (p *MessageOperations) String() string
- func (p *MessageOperations) Write(oprot thrift.TProtocol) error
- type MessageService
- type MessageServiceClient
- func (p *MessageServiceClient) FetchMessageOperations(localRevision int64, lastOpTimestamp int64, count int32) (r *MessageOperations, err error)
- func (p *MessageServiceClient) GetLastReadMessageIds(chatId string) (r *LastReadMessageIds, err error)
- func (p *MessageServiceClient) MultiGetLastReadMessageIds(chatIds []string) (r []*LastReadMessageIds, err error)
- type MessageServiceProcessor
- func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *MessageServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *MessageServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type MultiGetLastReadMessageIdsArgs
- func (p *MultiGetLastReadMessageIdsArgs) GetChatIds() []string
- func (p *MultiGetLastReadMessageIdsArgs) Read(iprot thrift.TProtocol) error
- func (p *MultiGetLastReadMessageIdsArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *MultiGetLastReadMessageIdsArgs) String() string
- func (p *MultiGetLastReadMessageIdsArgs) Write(oprot thrift.TProtocol) error
- type MultiGetLastReadMessageIdsResult
- func (p *MultiGetLastReadMessageIdsResult) GetE() *TalkException
- func (p *MultiGetLastReadMessageIdsResult) GetSuccess() []*LastReadMessageIds
- func (p *MultiGetLastReadMessageIdsResult) IsSetE() bool
- func (p *MultiGetLastReadMessageIdsResult) IsSetSuccess() bool
- func (p *MultiGetLastReadMessageIdsResult) Read(iprot thrift.TProtocol) error
- func (p *MultiGetLastReadMessageIdsResult) ReadField0(iprot thrift.TProtocol) error
- func (p *MultiGetLastReadMessageIdsResult) ReadField1(iprot thrift.TProtocol) error
- func (p *MultiGetLastReadMessageIdsResult) String() string
- func (p *MultiGetLastReadMessageIdsResult) Write(oprot thrift.TProtocol) error
- type OpStatus
- type OpType
- type Operation
- func (p *Operation) GetChecksum() string
- func (p *Operation) GetCreatedTime() int64
- func (p *Operation) GetMessage() *Message
- func (p *Operation) GetParam1() string
- func (p *Operation) GetParam2() string
- func (p *Operation) GetParam3() string
- func (p *Operation) GetReqSeq() int32
- func (p *Operation) GetRevision() int64
- func (p *Operation) GetStatus() OpStatus
- func (p *Operation) GetTypeA1() OpType
- func (p *Operation) IsSetMessage() bool
- func (p *Operation) Read(iprot thrift.TProtocol) error
- func (p *Operation) ReadField1(iprot thrift.TProtocol) error
- func (p *Operation) ReadField10(iprot thrift.TProtocol) error
- func (p *Operation) ReadField11(iprot thrift.TProtocol) error
- func (p *Operation) ReadField12(iprot thrift.TProtocol) error
- func (p *Operation) ReadField2(iprot thrift.TProtocol) error
- func (p *Operation) ReadField20(iprot thrift.TProtocol) error
- func (p *Operation) ReadField3(iprot thrift.TProtocol) error
- func (p *Operation) ReadField4(iprot thrift.TProtocol) error
- func (p *Operation) ReadField5(iprot thrift.TProtocol) error
- func (p *Operation) ReadField7(iprot thrift.TProtocol) error
- func (p *Operation) String() string
- func (p *Operation) Write(oprot thrift.TProtocol) error
- type Profile
- func (p *Profile) GetAllowSearchByEmail() bool
- func (p *Profile) GetAllowSearchByUserid() bool
- func (p *Profile) GetDisplayName() string
- func (p *Profile) GetEmail() string
- func (p *Profile) GetMid() string
- func (p *Profile) GetPhone() string
- func (p *Profile) GetPhoneticName() string
- func (p *Profile) GetPicturePath() string
- func (p *Profile) GetPictureStatus() string
- func (p *Profile) GetRegionCode() string
- func (p *Profile) GetStatusMessage() string
- func (p *Profile) GetThumbnailUrl() string
- func (p *Profile) GetUserid() string
- func (p *Profile) Read(iprot thrift.TProtocol) error
- func (p *Profile) ReadField1(iprot thrift.TProtocol) error
- func (p *Profile) ReadField10(iprot thrift.TProtocol) error
- func (p *Profile) ReadField11(iprot thrift.TProtocol) error
- func (p *Profile) ReadField12(iprot thrift.TProtocol) error
- func (p *Profile) ReadField20(iprot thrift.TProtocol) error
- func (p *Profile) ReadField21(iprot thrift.TProtocol) error
- func (p *Profile) ReadField22(iprot thrift.TProtocol) error
- func (p *Profile) ReadField23(iprot thrift.TProtocol) error
- func (p *Profile) ReadField24(iprot thrift.TProtocol) error
- func (p *Profile) ReadField3(iprot thrift.TProtocol) error
- func (p *Profile) ReadField31(iprot thrift.TProtocol) error
- func (p *Profile) ReadField32(iprot thrift.TProtocol) error
- func (p *Profile) ReadField33(iprot thrift.TProtocol) error
- func (p *Profile) String() string
- func (p *Profile) Write(oprot thrift.TProtocol) error
- type TMessageBox
- func (p *TMessageBox) GetChannelId() string
- func (p *TMessageBox) GetId() string
- func (p *TMessageBox) GetLastMessages() []*Message
- func (p *TMessageBox) GetLastModifiedTime() int64
- func (p *TMessageBox) GetLastSeq() int64
- func (p *TMessageBox) GetMidType() MIDType
- func (p *TMessageBox) GetStatus() int32
- func (p *TMessageBox) GetUnreadCount() int64
- func (p *TMessageBox) Read(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField1(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField10(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField2(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField5(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField6(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField7(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField8(iprot thrift.TProtocol) error
- func (p *TMessageBox) ReadField9(iprot thrift.TProtocol) error
- func (p *TMessageBox) String() string
- func (p *TMessageBox) Write(oprot thrift.TProtocol) error
- type TMessageBoxWrapUp
- func (p *TMessageBoxWrapUp) GetContacts() []*Contact
- func (p *TMessageBoxWrapUp) GetMessageBox() *TMessageBox
- func (p *TMessageBoxWrapUp) GetName() string
- func (p *TMessageBoxWrapUp) GetPictureRevision() string
- func (p *TMessageBoxWrapUp) IsSetMessageBox() bool
- func (p *TMessageBoxWrapUp) Read(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUp) ReadField1(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUp) ReadField2(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUp) ReadField3(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUp) ReadField4(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUp) String() string
- func (p *TMessageBoxWrapUp) Write(oprot thrift.TProtocol) error
- type TMessageBoxWrapUpResponse
- func (p *TMessageBoxWrapUpResponse) GetMessageBoxWrapUpList() []*TMessageBoxWrapUp
- func (p *TMessageBoxWrapUpResponse) GetTotalSize() int32
- func (p *TMessageBoxWrapUpResponse) Read(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUpResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUpResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *TMessageBoxWrapUpResponse) String() string
- func (p *TMessageBoxWrapUpResponse) Write(oprot thrift.TProtocol) error
- type TalkException
- func (p *TalkException) Error() string
- func (p *TalkException) GetCode() ErrorCode
- func (p *TalkException) GetParameterMap() map[string]string
- func (p *TalkException) GetReason() string
- func (p *TalkException) Read(iprot thrift.TProtocol) error
- func (p *TalkException) ReadField1(iprot thrift.TProtocol) error
- func (p *TalkException) ReadField2(iprot thrift.TProtocol) error
- func (p *TalkException) ReadField3(iprot thrift.TProtocol) error
- func (p *TalkException) String() string
- func (p *TalkException) Write(oprot thrift.TProtocol) error
- type TalkService
- type TalkServiceClient
- func (p *TalkServiceClient) FetchOperations(localRev int64, count int32) (r []*Operation, err error)
- func (p *TalkServiceClient) FindAndAddContactsByMid(reqSeq int32, mid string) (r map[string]*Contact, err error)
- func (p *TalkServiceClient) FindAndAddContactsByUserid(reqSeq int32, userid string) (r map[string]*Contact, err error)
- func (p *TalkServiceClient) GetAllContactIds() (r []string, err error)
- func (p *TalkServiceClient) GetContacts(ids []string) (r []*Contact, err error)
- func (p *TalkServiceClient) GetLastOpRevision() (r int64, err error)
- func (p *TalkServiceClient) GetMessageBoxCompactWrapUpList(start int32, messageBoxCount int32) (r *TMessageBoxWrapUpResponse, err error)
- func (p *TalkServiceClient) GetProfile() (r *Profile, err error)
- func (p *TalkServiceClient) LoginWithIdentityCredentialForCertificate(identityProvider IdentityProvider, identifier string, password string, ...) (r *LoginResult_, err error)
- func (p *TalkServiceClient) LoginWithVerifierForCertificate(verifier string) (r *LoginResult_, err error)
- func (p *TalkServiceClient) UpdateContactSetting(reqSeq int32, mid string, flag ContactSetting, value string) (err error)
- type UpdateContactSettingArgs
- func (p *UpdateContactSettingArgs) GetFlag() ContactSetting
- func (p *UpdateContactSettingArgs) GetMid() string
- func (p *UpdateContactSettingArgs) GetReqSeq() int32
- func (p *UpdateContactSettingArgs) GetValue() string
- func (p *UpdateContactSettingArgs) Read(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingArgs) ReadField2(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingArgs) ReadField3(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingArgs) ReadField4(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingArgs) String() string
- func (p *UpdateContactSettingArgs) Write(oprot thrift.TProtocol) error
- type UpdateContactSettingResult
- func (p *UpdateContactSettingResult) GetE() *TalkException
- func (p *UpdateContactSettingResult) IsSetE() bool
- func (p *UpdateContactSettingResult) Read(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingResult) ReadField1(iprot thrift.TProtocol) error
- func (p *UpdateContactSettingResult) String() string
- func (p *UpdateContactSettingResult) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FetchOperationsResult_Success_DEFAULT []*Operation
View Source
var FindAndAddContactsByMidResult_Success_DEFAULT map[string]*Contact
View Source
var FindAndAddContactsByUseridResult_Success_DEFAULT map[string]*Contact
View Source
var GetAllContactIdsResult_Success_DEFAULT []string
View Source
var GetContactsResult_Success_DEFAULT []*Contact
View Source
var GetLastOpRevisionResult_Success_DEFAULT int64
View Source
var GoUnusedProtection__ int
View Source
var MultiGetLastReadMessageIdsResult_Success_DEFAULT []*LastReadMessageIds
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct { Mid string `thrift:"mid,1" json:"mid"` CreatedTime int64 `thrift:"createdTime,2" json:"createdTime"` // unused fields # 3 to 9 TypeA1 ContactType `thrift:"type,10" json:"type"` Status ContactStatus `thrift:"status,11" json:"status"` // unused fields # 12 to 20 Relation ContactRelation `thrift:"relation,21" json:"relation"` DisplayName string `thrift:"displayName,22" json:"displayName"` PhoneticName string `thrift:"phoneticName,23" json:"phoneticName"` PictureStatus string `thrift:"pictureStatus,24" json:"pictureStatus"` ThumbnailUrl string `thrift:"thumbnailUrl,25" json:"thumbnailUrl"` StatusMessage string `thrift:"statusMessage,26" json:"statusMessage"` DisplayNameOverridden string `thrift:"displayNameOverridden,27" json:"displayNameOverridden"` FavoriteTime int64 `thrift:"favoriteTime,28" json:"favoriteTime"` // unused fields # 29 to 30 CapableVoiceCall bool `thrift:"capableVoiceCall,31" json:"capableVoiceCall"` CapableVideoCall bool `thrift:"capableVideoCall,32" json:"capableVideoCall"` CapableMyhome bool `thrift:"capableMyhome,33" json:"capableMyhome"` CapableBuddy bool `thrift:"capableBuddy,34" json:"capableBuddy"` Attributes int32 `thrift:"attributes,35" json:"attributes"` Settings int64 `thrift:"settings,36" json:"settings"` PicturePath string `thrift:"picturePath,37" json:"picturePath"` }
func NewContact ¶
func NewContact() *Contact
func (*Contact) GetAttributes ¶
func (*Contact) GetCapableBuddy ¶
func (*Contact) GetCapableMyhome ¶
func (*Contact) GetCapableVideoCall ¶
func (*Contact) GetCapableVoiceCall ¶
func (*Contact) GetCreatedTime ¶
func (*Contact) GetDisplayName ¶
func (*Contact) GetDisplayNameOverridden ¶
func (*Contact) GetFavoriteTime ¶
func (*Contact) GetPhoneticName ¶
func (*Contact) GetPicturePath ¶
func (*Contact) GetPictureStatus ¶
func (*Contact) GetRelation ¶
func (p *Contact) GetRelation() ContactRelation
func (*Contact) GetSettings ¶
func (*Contact) GetStatus ¶
func (p *Contact) GetStatus() ContactStatus
func (*Contact) GetStatusMessage ¶
func (*Contact) GetThumbnailUrl ¶
func (*Contact) GetTypeA1 ¶
func (p *Contact) GetTypeA1() ContactType
type ContactRelation ¶
type ContactRelation int64
const ( ContactRelation_ONEWAY ContactRelation = 0 ContactRelation_BOTH ContactRelation = 1 ContactRelation_NOT_REGISTERED ContactRelation = 2 )
func ContactRelationFromString ¶
func ContactRelationFromString(s string) (ContactRelation, error)
func ContactRelationPtr ¶
func ContactRelationPtr(v ContactRelation) *ContactRelation
func (ContactRelation) String ¶
func (p ContactRelation) String() string
type ContactSetting ¶
type ContactSetting int64
const ( ContactSetting_CONTACT_SETTING_NOTIFICATION_DISABLE ContactSetting = 1 ContactSetting_CONTACT_SETTING_DISPLAY_NAME_OVERRIDE ContactSetting = 2 ContactSetting_CONTACT_SETTING_CONTACT_HIDE ContactSetting = 4 ContactSetting_CONTACT_SETTING_FAVORITE ContactSetting = 8 ContactSetting_CONTACT_SETTING_DELETE ContactSetting = 16 )
func ContactSettingFromString ¶
func ContactSettingFromString(s string) (ContactSetting, error)
func ContactSettingPtr ¶
func ContactSettingPtr(v ContactSetting) *ContactSetting
func (ContactSetting) String ¶
func (p ContactSetting) String() string
type ContactStatus ¶
type ContactStatus int64
const ( ContactStatus_UNSPECIFIED ContactStatus = 0 ContactStatus_FRIEND ContactStatus = 1 ContactStatus_FRIEND_BLOCKED ContactStatus = 2 ContactStatus_RECOMMEND ContactStatus = 3 ContactStatus_RECOMMEND_BLOCKED ContactStatus = 4 ContactStatus_DELETED ContactStatus = 5 ContactStatus_DELETED_BLOCKED ContactStatus = 6 )
func ContactStatusFromString ¶
func ContactStatusFromString(s string) (ContactStatus, error)
func ContactStatusPtr ¶
func ContactStatusPtr(v ContactStatus) *ContactStatus
func (ContactStatus) String ¶
func (p ContactStatus) String() string
type ContactType ¶
type ContactType int64
const ( ContactType_MID ContactType = 0 ContactType_PHONE ContactType = 1 ContactType_EMAIL ContactType = 2 ContactType_USERID ContactType = 3 ContactType_PROXIMITY ContactType = 4 ContactType_GROUP ContactType = 5 ContactType_USER ContactType = 6 ContactType_QRCODE ContactType = 7 ContactType_PROMOTION_BOT ContactType = 8 ContactType_REPAIR ContactType = 128 ContactType_FACEBOOK ContactType = 2305 ContactType_SINA ContactType = 2306 ContactType_RENREN ContactType = 2307 ContactType_FEIXIN ContactType = 2308 )
func ContactTypeFromString ¶
func ContactTypeFromString(s string) (ContactType, error)
func ContactTypePtr ¶
func ContactTypePtr(v ContactType) *ContactType
func (ContactType) String ¶
func (p ContactType) String() string
type ContentType ¶
type ContentType int64
const ( ContentType_NONE ContentType = 0 ContentType_IMAGE ContentType = 1 ContentType_VIDEO ContentType = 2 ContentType_AUDIO ContentType = 3 ContentType_HTML ContentType = 4 ContentType_PDF ContentType = 5 ContentType_CALL ContentType = 6 ContentType_STICKER ContentType = 7 ContentType_PRESENCE ContentType = 8 ContentType_GIFT ContentType = 9 ContentType_GROUPBOARD ContentType = 10 ContentType_APPLINK ContentType = 11 ContentType_LINK ContentType = 12 ContentType_CONTACT ContentType = 13 ContentType_FILE ContentType = 14 ContentType_LOCATION ContentType = 15 ContentType_POSTNOTIFICATION ContentType = 16 ContentType_RICH ContentType = 17 ContentType_CHATEVENT ContentType = 18 )
func ContentTypeFromString ¶
func ContentTypeFromString(s string) (ContentType, error)
func ContentTypePtr ¶
func ContentTypePtr(v ContentType) *ContentType
func (ContentType) String ¶
func (p ContentType) String() string
type ErrorCode ¶
type ErrorCode int64
const ( ErrorCode_ILLEGAL_ARGUMENT ErrorCode = 0 ErrorCode_AUTHENTICATION_FAILED ErrorCode = 1 ErrorCode_DB_FAILED ErrorCode = 2 ErrorCode_INVALID_STATE ErrorCode = 3 ErrorCode_EXCESSIVE_ACCESS ErrorCode = 4 ErrorCode_NOT_FOUND ErrorCode = 5 ErrorCode_INVALID_LENGTH ErrorCode = 6 ErrorCode_NOT_AVAILABLE_USER ErrorCode = 7 ErrorCode_NOT_AUTHORIZED_DEVICE ErrorCode = 8 ErrorCode_INVALID_MID ErrorCode = 9 ErrorCode_NOT_A_MEMBER ErrorCode = 10 ErrorCode_INCOMPATIBLE_APP_VERSION ErrorCode = 11 ErrorCode_NOT_READY ErrorCode = 12 ErrorCode_NOT_AVAILABLE_SESSION ErrorCode = 13 ErrorCode_NOT_AUTHORIZED_SESSION ErrorCode = 14 ErrorCode_SYSTEM_ERROR ErrorCode = 15 ErrorCode_NO_AVAILABLE_VERIFICATION_METHOD ErrorCode = 16 ErrorCode_NOT_AUTHENTICATED ErrorCode = 17 ErrorCode_INVALID_IDENTITY_CREDENTIAL ErrorCode = 18 ErrorCode_NOT_AVAILABLE_IDENTITY_IDENTIFIER ErrorCode = 19 ErrorCode_INTERNAL_ERROR ErrorCode = 20 ErrorCode_NO_SUCH_IDENTITY_IDENFIER ErrorCode = 21 ErrorCode_DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY ErrorCode = 22 ErrorCode_ILLEGAL_IDENTITY_CREDENTIAL ErrorCode = 23 ErrorCode_UNKNOWN_CHANNEL ErrorCode = 24 ErrorCode_NO_SUCH_MESSAGE_BOX ErrorCode = 25 ErrorCode_NOT_AVAILABLE_MESSAGE_BOX ErrorCode = 26 ErrorCode_CHANNEL_DOES_NOT_MATCH ErrorCode = 27 ErrorCode_NOT_YOUR_MESSAGE ErrorCode = 28 ErrorCode_MESSAGE_DEFINED_ERROR ErrorCode = 29 ErrorCode_USER_CANNOT_ACCEPT_PRESENTS ErrorCode = 30 ErrorCode_USER_NOT_STICKER_OWNER ErrorCode = 32 ErrorCode_MAINTENANCE_ERROR ErrorCode = 33 ErrorCode_ACCOUNT_NOT_MATCHED ErrorCode = 34 ErrorCode_ABUSE_BLOCK ErrorCode = 35 ErrorCode_NOT_FRIEND ErrorCode = 36 ErrorCode_NOT_ALLOWED_CALL ErrorCode = 37 ErrorCode_BLOCK_FRIEND ErrorCode = 38 ErrorCode_INCOMPATIBLE_VOIP_VERSION ErrorCode = 39 ErrorCode_INVALID_SNS_ACCESS_TOKEN ErrorCode = 40 ErrorCode_EXTERNAL_SERVICE_NOT_AVAILABLE ErrorCode = 41 ErrorCode_NOT_ALLOWED_ADD_CONTACT ErrorCode = 42 ErrorCode_NOT_CERTIFICATED ErrorCode = 43 ErrorCode_NOT_ALLOWED_SECONDARY_DEVICE ErrorCode = 44 ErrorCode_INVALID_PIN_CODE ErrorCode = 45 ErrorCode_NOT_FOUND_IDENTITY_CREDENTIAL ErrorCode = 46 ErrorCode_EXCEED_FILE_MAX_SIZE ErrorCode = 47 ErrorCode_EXCEED_DAILY_QUOTA ErrorCode = 48 ErrorCode_NOT_SUPPORT_SEND_FILE ErrorCode = 49 ErrorCode_MUST_UPGRADE ErrorCode = 50 ErrorCode_NOT_AVAILABLE_PIN_CODE_SESSION ErrorCode = 51 )
func ErrorCodeFromString ¶
func ErrorCodePtr ¶
type FetchMessageOperationsArgs ¶
type FetchMessageOperationsArgs struct { // unused field # 1 LocalRevision int64 `thrift:"localRevision,2" json:"localRevision"` LastOpTimestamp int64 `thrift:"lastOpTimestamp,3" json:"lastOpTimestamp"` Count int32 `thrift:"count,4" json:"count"` }
func NewFetchMessageOperationsArgs ¶
func NewFetchMessageOperationsArgs() *FetchMessageOperationsArgs
func (*FetchMessageOperationsArgs) GetCount ¶
func (p *FetchMessageOperationsArgs) GetCount() int32
func (*FetchMessageOperationsArgs) GetLastOpTimestamp ¶
func (p *FetchMessageOperationsArgs) GetLastOpTimestamp() int64
func (*FetchMessageOperationsArgs) GetLocalRevision ¶
func (p *FetchMessageOperationsArgs) GetLocalRevision() int64
func (*FetchMessageOperationsArgs) Read ¶
func (p *FetchMessageOperationsArgs) Read(iprot thrift.TProtocol) error
func (*FetchMessageOperationsArgs) ReadField2 ¶
func (p *FetchMessageOperationsArgs) ReadField2(iprot thrift.TProtocol) error
func (*FetchMessageOperationsArgs) ReadField3 ¶
func (p *FetchMessageOperationsArgs) ReadField3(iprot thrift.TProtocol) error
func (*FetchMessageOperationsArgs) ReadField4 ¶
func (p *FetchMessageOperationsArgs) ReadField4(iprot thrift.TProtocol) error
func (*FetchMessageOperationsArgs) String ¶
func (p *FetchMessageOperationsArgs) String() string
type FetchMessageOperationsResult ¶
type FetchMessageOperationsResult struct { Success *MessageOperations `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewFetchMessageOperationsResult ¶
func NewFetchMessageOperationsResult() *FetchMessageOperationsResult
func (*FetchMessageOperationsResult) GetE ¶
func (p *FetchMessageOperationsResult) GetE() *TalkException
func (*FetchMessageOperationsResult) GetSuccess ¶
func (p *FetchMessageOperationsResult) GetSuccess() *MessageOperations
func (*FetchMessageOperationsResult) IsSetE ¶
func (p *FetchMessageOperationsResult) IsSetE() bool
func (*FetchMessageOperationsResult) IsSetSuccess ¶
func (p *FetchMessageOperationsResult) IsSetSuccess() bool
func (*FetchMessageOperationsResult) Read ¶
func (p *FetchMessageOperationsResult) Read(iprot thrift.TProtocol) error
func (*FetchMessageOperationsResult) ReadField0 ¶
func (p *FetchMessageOperationsResult) ReadField0(iprot thrift.TProtocol) error
func (*FetchMessageOperationsResult) ReadField1 ¶
func (p *FetchMessageOperationsResult) ReadField1(iprot thrift.TProtocol) error
func (*FetchMessageOperationsResult) String ¶
func (p *FetchMessageOperationsResult) String() string
type FetchOperationsArgs ¶
type FetchOperationsArgs struct { // unused field # 1 LocalRev int64 `thrift:"localRev,2" json:"localRev"` Count int32 `thrift:"count,3" json:"count"` }
func NewFetchOperationsArgs ¶
func NewFetchOperationsArgs() *FetchOperationsArgs
func (*FetchOperationsArgs) GetCount ¶
func (p *FetchOperationsArgs) GetCount() int32
func (*FetchOperationsArgs) GetLocalRev ¶
func (p *FetchOperationsArgs) GetLocalRev() int64
func (*FetchOperationsArgs) ReadField2 ¶
func (p *FetchOperationsArgs) ReadField2(iprot thrift.TProtocol) error
func (*FetchOperationsArgs) ReadField3 ¶
func (p *FetchOperationsArgs) ReadField3(iprot thrift.TProtocol) error
func (*FetchOperationsArgs) String ¶
func (p *FetchOperationsArgs) String() string
type FetchOperationsResult ¶
type FetchOperationsResult struct { Success []*Operation `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewFetchOperationsResult ¶
func NewFetchOperationsResult() *FetchOperationsResult
func (*FetchOperationsResult) GetE ¶
func (p *FetchOperationsResult) GetE() *TalkException
func (*FetchOperationsResult) GetSuccess ¶
func (p *FetchOperationsResult) GetSuccess() []*Operation
func (*FetchOperationsResult) IsSetE ¶
func (p *FetchOperationsResult) IsSetE() bool
func (*FetchOperationsResult) IsSetSuccess ¶
func (p *FetchOperationsResult) IsSetSuccess() bool
func (*FetchOperationsResult) Read ¶
func (p *FetchOperationsResult) Read(iprot thrift.TProtocol) error
func (*FetchOperationsResult) ReadField0 ¶
func (p *FetchOperationsResult) ReadField0(iprot thrift.TProtocol) error
func (*FetchOperationsResult) ReadField1 ¶
func (p *FetchOperationsResult) ReadField1(iprot thrift.TProtocol) error
func (*FetchOperationsResult) String ¶
func (p *FetchOperationsResult) String() string
type FindAndAddContactsByMidArgs ¶
type FindAndAddContactsByMidArgs struct { ReqSeq int32 `thrift:"reqSeq,1" json:"reqSeq"` Mid string `thrift:"mid,2" json:"mid"` }
func NewFindAndAddContactsByMidArgs ¶
func NewFindAndAddContactsByMidArgs() *FindAndAddContactsByMidArgs
func (*FindAndAddContactsByMidArgs) GetMid ¶
func (p *FindAndAddContactsByMidArgs) GetMid() string
func (*FindAndAddContactsByMidArgs) GetReqSeq ¶
func (p *FindAndAddContactsByMidArgs) GetReqSeq() int32
func (*FindAndAddContactsByMidArgs) Read ¶
func (p *FindAndAddContactsByMidArgs) Read(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidArgs) ReadField1 ¶
func (p *FindAndAddContactsByMidArgs) ReadField1(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidArgs) ReadField2 ¶
func (p *FindAndAddContactsByMidArgs) ReadField2(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidArgs) String ¶
func (p *FindAndAddContactsByMidArgs) String() string
type FindAndAddContactsByMidResult ¶
type FindAndAddContactsByMidResult struct { Success map[string]*Contact `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewFindAndAddContactsByMidResult ¶
func NewFindAndAddContactsByMidResult() *FindAndAddContactsByMidResult
func (*FindAndAddContactsByMidResult) GetE ¶
func (p *FindAndAddContactsByMidResult) GetE() *TalkException
func (*FindAndAddContactsByMidResult) GetSuccess ¶
func (p *FindAndAddContactsByMidResult) GetSuccess() map[string]*Contact
func (*FindAndAddContactsByMidResult) IsSetE ¶
func (p *FindAndAddContactsByMidResult) IsSetE() bool
func (*FindAndAddContactsByMidResult) IsSetSuccess ¶
func (p *FindAndAddContactsByMidResult) IsSetSuccess() bool
func (*FindAndAddContactsByMidResult) Read ¶
func (p *FindAndAddContactsByMidResult) Read(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidResult) ReadField0 ¶
func (p *FindAndAddContactsByMidResult) ReadField0(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidResult) ReadField1 ¶
func (p *FindAndAddContactsByMidResult) ReadField1(iprot thrift.TProtocol) error
func (*FindAndAddContactsByMidResult) String ¶
func (p *FindAndAddContactsByMidResult) String() string
type FindAndAddContactsByUseridArgs ¶
type FindAndAddContactsByUseridArgs struct { ReqSeq int32 `thrift:"reqSeq,1" json:"reqSeq"` Userid string `thrift:"userid,2" json:"userid"` }
func NewFindAndAddContactsByUseridArgs ¶
func NewFindAndAddContactsByUseridArgs() *FindAndAddContactsByUseridArgs
func (*FindAndAddContactsByUseridArgs) GetReqSeq ¶
func (p *FindAndAddContactsByUseridArgs) GetReqSeq() int32
func (*FindAndAddContactsByUseridArgs) GetUserid ¶
func (p *FindAndAddContactsByUseridArgs) GetUserid() string
func (*FindAndAddContactsByUseridArgs) Read ¶
func (p *FindAndAddContactsByUseridArgs) Read(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridArgs) ReadField1 ¶
func (p *FindAndAddContactsByUseridArgs) ReadField1(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridArgs) ReadField2 ¶
func (p *FindAndAddContactsByUseridArgs) ReadField2(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridArgs) String ¶
func (p *FindAndAddContactsByUseridArgs) String() string
type FindAndAddContactsByUseridResult ¶
type FindAndAddContactsByUseridResult struct { Success map[string]*Contact `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewFindAndAddContactsByUseridResult ¶
func NewFindAndAddContactsByUseridResult() *FindAndAddContactsByUseridResult
func (*FindAndAddContactsByUseridResult) GetE ¶
func (p *FindAndAddContactsByUseridResult) GetE() *TalkException
func (*FindAndAddContactsByUseridResult) GetSuccess ¶
func (p *FindAndAddContactsByUseridResult) GetSuccess() map[string]*Contact
func (*FindAndAddContactsByUseridResult) IsSetE ¶
func (p *FindAndAddContactsByUseridResult) IsSetE() bool
func (*FindAndAddContactsByUseridResult) IsSetSuccess ¶
func (p *FindAndAddContactsByUseridResult) IsSetSuccess() bool
func (*FindAndAddContactsByUseridResult) Read ¶
func (p *FindAndAddContactsByUseridResult) Read(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridResult) ReadField0 ¶
func (p *FindAndAddContactsByUseridResult) ReadField0(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridResult) ReadField1 ¶
func (p *FindAndAddContactsByUseridResult) ReadField1(iprot thrift.TProtocol) error
func (*FindAndAddContactsByUseridResult) String ¶
func (p *FindAndAddContactsByUseridResult) String() string
type GetAllContactIdsArgs ¶
type GetAllContactIdsArgs struct { }
func NewGetAllContactIdsArgs ¶
func NewGetAllContactIdsArgs() *GetAllContactIdsArgs
func (*GetAllContactIdsArgs) Read ¶
func (p *GetAllContactIdsArgs) Read(iprot thrift.TProtocol) error
func (*GetAllContactIdsArgs) String ¶
func (p *GetAllContactIdsArgs) String() string
type GetAllContactIdsResult ¶
type GetAllContactIdsResult struct { Success []string `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetAllContactIdsResult ¶
func NewGetAllContactIdsResult() *GetAllContactIdsResult
func (*GetAllContactIdsResult) GetE ¶
func (p *GetAllContactIdsResult) GetE() *TalkException
func (*GetAllContactIdsResult) GetSuccess ¶
func (p *GetAllContactIdsResult) GetSuccess() []string
func (*GetAllContactIdsResult) IsSetE ¶
func (p *GetAllContactIdsResult) IsSetE() bool
func (*GetAllContactIdsResult) IsSetSuccess ¶
func (p *GetAllContactIdsResult) IsSetSuccess() bool
func (*GetAllContactIdsResult) Read ¶
func (p *GetAllContactIdsResult) Read(iprot thrift.TProtocol) error
func (*GetAllContactIdsResult) ReadField0 ¶
func (p *GetAllContactIdsResult) ReadField0(iprot thrift.TProtocol) error
func (*GetAllContactIdsResult) ReadField1 ¶
func (p *GetAllContactIdsResult) ReadField1(iprot thrift.TProtocol) error
func (*GetAllContactIdsResult) String ¶
func (p *GetAllContactIdsResult) String() string
type GetContactsArgs ¶
type GetContactsArgs struct { // unused field # 1 Ids []string `thrift:"ids,2" json:"ids"` }
func NewGetContactsArgs ¶
func NewGetContactsArgs() *GetContactsArgs
func (*GetContactsArgs) GetIds ¶
func (p *GetContactsArgs) GetIds() []string
func (*GetContactsArgs) ReadField2 ¶
func (p *GetContactsArgs) ReadField2(iprot thrift.TProtocol) error
func (*GetContactsArgs) String ¶
func (p *GetContactsArgs) String() string
type GetContactsResult ¶
type GetContactsResult struct { Success []*Contact `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetContactsResult ¶
func NewGetContactsResult() *GetContactsResult
func (*GetContactsResult) GetE ¶
func (p *GetContactsResult) GetE() *TalkException
func (*GetContactsResult) GetSuccess ¶
func (p *GetContactsResult) GetSuccess() []*Contact
func (*GetContactsResult) IsSetE ¶
func (p *GetContactsResult) IsSetE() bool
func (*GetContactsResult) IsSetSuccess ¶
func (p *GetContactsResult) IsSetSuccess() bool
func (*GetContactsResult) ReadField0 ¶
func (p *GetContactsResult) ReadField0(iprot thrift.TProtocol) error
func (*GetContactsResult) ReadField1 ¶
func (p *GetContactsResult) ReadField1(iprot thrift.TProtocol) error
func (*GetContactsResult) String ¶
func (p *GetContactsResult) String() string
type GetLastOpRevisionArgs ¶
type GetLastOpRevisionArgs struct { }
func NewGetLastOpRevisionArgs ¶
func NewGetLastOpRevisionArgs() *GetLastOpRevisionArgs
func (*GetLastOpRevisionArgs) Read ¶
func (p *GetLastOpRevisionArgs) Read(iprot thrift.TProtocol) error
func (*GetLastOpRevisionArgs) String ¶
func (p *GetLastOpRevisionArgs) String() string
type GetLastOpRevisionResult ¶
type GetLastOpRevisionResult struct { Success *int64 `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetLastOpRevisionResult ¶
func NewGetLastOpRevisionResult() *GetLastOpRevisionResult
func (*GetLastOpRevisionResult) GetE ¶
func (p *GetLastOpRevisionResult) GetE() *TalkException
func (*GetLastOpRevisionResult) GetSuccess ¶
func (p *GetLastOpRevisionResult) GetSuccess() int64
func (*GetLastOpRevisionResult) IsSetE ¶
func (p *GetLastOpRevisionResult) IsSetE() bool
func (*GetLastOpRevisionResult) IsSetSuccess ¶
func (p *GetLastOpRevisionResult) IsSetSuccess() bool
func (*GetLastOpRevisionResult) Read ¶
func (p *GetLastOpRevisionResult) Read(iprot thrift.TProtocol) error
func (*GetLastOpRevisionResult) ReadField0 ¶
func (p *GetLastOpRevisionResult) ReadField0(iprot thrift.TProtocol) error
func (*GetLastOpRevisionResult) ReadField1 ¶
func (p *GetLastOpRevisionResult) ReadField1(iprot thrift.TProtocol) error
func (*GetLastOpRevisionResult) String ¶
func (p *GetLastOpRevisionResult) String() string
type GetLastReadMessageIdsArgs ¶
type GetLastReadMessageIdsArgs struct { // unused field # 1 ChatId string `thrift:"chatId,2" json:"chatId"` }
func NewGetLastReadMessageIdsArgs ¶
func NewGetLastReadMessageIdsArgs() *GetLastReadMessageIdsArgs
func (*GetLastReadMessageIdsArgs) GetChatId ¶
func (p *GetLastReadMessageIdsArgs) GetChatId() string
func (*GetLastReadMessageIdsArgs) Read ¶
func (p *GetLastReadMessageIdsArgs) Read(iprot thrift.TProtocol) error
func (*GetLastReadMessageIdsArgs) ReadField2 ¶
func (p *GetLastReadMessageIdsArgs) ReadField2(iprot thrift.TProtocol) error
func (*GetLastReadMessageIdsArgs) String ¶
func (p *GetLastReadMessageIdsArgs) String() string
type GetLastReadMessageIdsResult ¶
type GetLastReadMessageIdsResult struct { Success *LastReadMessageIds `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetLastReadMessageIdsResult ¶
func NewGetLastReadMessageIdsResult() *GetLastReadMessageIdsResult
func (*GetLastReadMessageIdsResult) GetE ¶
func (p *GetLastReadMessageIdsResult) GetE() *TalkException
func (*GetLastReadMessageIdsResult) GetSuccess ¶
func (p *GetLastReadMessageIdsResult) GetSuccess() *LastReadMessageIds
func (*GetLastReadMessageIdsResult) IsSetE ¶
func (p *GetLastReadMessageIdsResult) IsSetE() bool
func (*GetLastReadMessageIdsResult) IsSetSuccess ¶
func (p *GetLastReadMessageIdsResult) IsSetSuccess() bool
func (*GetLastReadMessageIdsResult) Read ¶
func (p *GetLastReadMessageIdsResult) Read(iprot thrift.TProtocol) error
func (*GetLastReadMessageIdsResult) ReadField0 ¶
func (p *GetLastReadMessageIdsResult) ReadField0(iprot thrift.TProtocol) error
func (*GetLastReadMessageIdsResult) ReadField1 ¶
func (p *GetLastReadMessageIdsResult) ReadField1(iprot thrift.TProtocol) error
func (*GetLastReadMessageIdsResult) String ¶
func (p *GetLastReadMessageIdsResult) String() string
type GetMessageBoxCompactWrapUpListArgs ¶
type GetMessageBoxCompactWrapUpListArgs struct { // unused field # 1 Start int32 `thrift:"start,2" json:"start"` MessageBoxCount int32 `thrift:"messageBoxCount,3" json:"messageBoxCount"` }
func NewGetMessageBoxCompactWrapUpListArgs ¶
func NewGetMessageBoxCompactWrapUpListArgs() *GetMessageBoxCompactWrapUpListArgs
func (*GetMessageBoxCompactWrapUpListArgs) GetMessageBoxCount ¶
func (p *GetMessageBoxCompactWrapUpListArgs) GetMessageBoxCount() int32
func (*GetMessageBoxCompactWrapUpListArgs) GetStart ¶
func (p *GetMessageBoxCompactWrapUpListArgs) GetStart() int32
func (*GetMessageBoxCompactWrapUpListArgs) Read ¶
func (p *GetMessageBoxCompactWrapUpListArgs) Read(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListArgs) ReadField2 ¶
func (p *GetMessageBoxCompactWrapUpListArgs) ReadField2(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListArgs) ReadField3 ¶
func (p *GetMessageBoxCompactWrapUpListArgs) ReadField3(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListArgs) String ¶
func (p *GetMessageBoxCompactWrapUpListArgs) String() string
type GetMessageBoxCompactWrapUpListResult ¶
type GetMessageBoxCompactWrapUpListResult struct { Success *TMessageBoxWrapUpResponse `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetMessageBoxCompactWrapUpListResult ¶
func NewGetMessageBoxCompactWrapUpListResult() *GetMessageBoxCompactWrapUpListResult
func (*GetMessageBoxCompactWrapUpListResult) GetE ¶
func (p *GetMessageBoxCompactWrapUpListResult) GetE() *TalkException
func (*GetMessageBoxCompactWrapUpListResult) GetSuccess ¶
func (p *GetMessageBoxCompactWrapUpListResult) GetSuccess() *TMessageBoxWrapUpResponse
func (*GetMessageBoxCompactWrapUpListResult) IsSetE ¶
func (p *GetMessageBoxCompactWrapUpListResult) IsSetE() bool
func (*GetMessageBoxCompactWrapUpListResult) IsSetSuccess ¶
func (p *GetMessageBoxCompactWrapUpListResult) IsSetSuccess() bool
func (*GetMessageBoxCompactWrapUpListResult) Read ¶
func (p *GetMessageBoxCompactWrapUpListResult) Read(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListResult) ReadField0 ¶
func (p *GetMessageBoxCompactWrapUpListResult) ReadField0(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListResult) ReadField1 ¶
func (p *GetMessageBoxCompactWrapUpListResult) ReadField1(iprot thrift.TProtocol) error
func (*GetMessageBoxCompactWrapUpListResult) String ¶
func (p *GetMessageBoxCompactWrapUpListResult) String() string
type GetProfileArgs ¶
type GetProfileArgs struct { }
func NewGetProfileArgs ¶
func NewGetProfileArgs() *GetProfileArgs
func (*GetProfileArgs) String ¶
func (p *GetProfileArgs) String() string
type GetProfileResult ¶
type GetProfileResult struct { Success *Profile `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewGetProfileResult ¶
func NewGetProfileResult() *GetProfileResult
func (*GetProfileResult) GetE ¶
func (p *GetProfileResult) GetE() *TalkException
func (*GetProfileResult) GetSuccess ¶
func (p *GetProfileResult) GetSuccess() *Profile
func (*GetProfileResult) IsSetE ¶
func (p *GetProfileResult) IsSetE() bool
func (*GetProfileResult) IsSetSuccess ¶
func (p *GetProfileResult) IsSetSuccess() bool
func (*GetProfileResult) ReadField0 ¶
func (p *GetProfileResult) ReadField0(iprot thrift.TProtocol) error
func (*GetProfileResult) ReadField1 ¶
func (p *GetProfileResult) ReadField1(iprot thrift.TProtocol) error
func (*GetProfileResult) String ¶
func (p *GetProfileResult) String() string
type IdentityProvider ¶
type IdentityProvider int64
const ( IdentityProvider_UNKNOWN IdentityProvider = 0 IdentityProvider_LINE IdentityProvider = 1 IdentityProvider_NAVER_KR IdentityProvider = 2 )
func IdentityProviderFromString ¶
func IdentityProviderFromString(s string) (IdentityProvider, error)
func IdentityProviderPtr ¶
func IdentityProviderPtr(v IdentityProvider) *IdentityProvider
func (IdentityProvider) String ¶
func (p IdentityProvider) String() string
type LastReadMessageId ¶
type LastReadMessageId struct { Mid string `thrift:"mid,1" json:"mid"` LastReadMessageId string `thrift:"lastReadMessageId,2" json:"lastReadMessageId"` }
func NewLastReadMessageId ¶
func NewLastReadMessageId() *LastReadMessageId
func (*LastReadMessageId) GetLastReadMessageId ¶
func (p *LastReadMessageId) GetLastReadMessageId() string
func (*LastReadMessageId) GetMid ¶
func (p *LastReadMessageId) GetMid() string
func (*LastReadMessageId) ReadField1 ¶
func (p *LastReadMessageId) ReadField1(iprot thrift.TProtocol) error
func (*LastReadMessageId) ReadField2 ¶
func (p *LastReadMessageId) ReadField2(iprot thrift.TProtocol) error
func (*LastReadMessageId) String ¶
func (p *LastReadMessageId) String() string
type LastReadMessageIds ¶
type LastReadMessageIds struct { ChatId string `thrift:"chatId,1" json:"chatId"` LastReadMessageIds []*LastReadMessageId `thrift:"lastReadMessageIds,2" json:"lastReadMessageIds"` }
var GetLastReadMessageIdsResult_Success_DEFAULT *LastReadMessageIds
func NewLastReadMessageIds ¶
func NewLastReadMessageIds() *LastReadMessageIds
func (*LastReadMessageIds) GetChatId ¶
func (p *LastReadMessageIds) GetChatId() string
func (*LastReadMessageIds) GetLastReadMessageIds ¶
func (p *LastReadMessageIds) GetLastReadMessageIds() []*LastReadMessageId
func (*LastReadMessageIds) ReadField1 ¶
func (p *LastReadMessageIds) ReadField1(iprot thrift.TProtocol) error
func (*LastReadMessageIds) ReadField2 ¶
func (p *LastReadMessageIds) ReadField2(iprot thrift.TProtocol) error
func (*LastReadMessageIds) String ¶
func (p *LastReadMessageIds) String() string
type Location ¶
type Location struct { Title string `thrift:"title,1" json:"title"` Address string `thrift:"address,2" json:"address"` Latitude float64 `thrift:"latitude,3" json:"latitude"` Longitude float64 `thrift:"longitude,4" json:"longitude"` Phone string `thrift:"phone,5" json:"phone"` }
var Message_Location_DEFAULT *Location
func NewLocation ¶
func NewLocation() *Location
func (*Location) GetAddress ¶
func (*Location) GetLatitude ¶
func (*Location) GetLongitude ¶
type LoginResultType ¶
type LoginResultType int64
const ( LoginResultType_SUCCESS LoginResultType = 1 LoginResultType_REQUIRE_QRCODE LoginResultType = 2 LoginResultType_REQUIRE_DEVICE_CONFIRM LoginResultType = 3 )
func LoginResultTypeFromString ¶
func LoginResultTypeFromString(s string) (LoginResultType, error)
func LoginResultTypePtr ¶
func LoginResultTypePtr(v LoginResultType) *LoginResultType
func (LoginResultType) String ¶
func (p LoginResultType) String() string
type LoginResult_ ¶
type LoginResult_ struct { AuthToken string `thrift:"authToken,1" json:"authToken"` Certificate string `thrift:"certificate,2" json:"certificate"` Verifier string `thrift:"verifier,3" json:"verifier"` PinCode string `thrift:"pinCode,4" json:"pinCode"` TypeA1 LoginResultType `thrift:"type,5" json:"type"` }
var LoginWithIdentityCredentialForCertificateResult_Success_DEFAULT *LoginResult_
var LoginWithVerifierForCertificateResult_Success_DEFAULT *LoginResult_
func NewLoginResult_ ¶
func NewLoginResult_() *LoginResult_
func (*LoginResult_) GetAuthToken ¶
func (p *LoginResult_) GetAuthToken() string
func (*LoginResult_) GetCertificate ¶
func (p *LoginResult_) GetCertificate() string
func (*LoginResult_) GetPinCode ¶
func (p *LoginResult_) GetPinCode() string
func (*LoginResult_) GetTypeA1 ¶
func (p *LoginResult_) GetTypeA1() LoginResultType
func (*LoginResult_) GetVerifier ¶
func (p *LoginResult_) GetVerifier() string
func (*LoginResult_) ReadField1 ¶
func (p *LoginResult_) ReadField1(iprot thrift.TProtocol) error
func (*LoginResult_) ReadField2 ¶
func (p *LoginResult_) ReadField2(iprot thrift.TProtocol) error
func (*LoginResult_) ReadField3 ¶
func (p *LoginResult_) ReadField3(iprot thrift.TProtocol) error
func (*LoginResult_) ReadField4 ¶
func (p *LoginResult_) ReadField4(iprot thrift.TProtocol) error
func (*LoginResult_) ReadField5 ¶
func (p *LoginResult_) ReadField5(iprot thrift.TProtocol) error
func (*LoginResult_) String ¶
func (p *LoginResult_) String() string
type LoginWithIdentityCredentialForCertificateArgs ¶
type LoginWithIdentityCredentialForCertificateArgs struct { // unused fields # 1 to 2 Identifier string `thrift:"identifier,3" json:"identifier"` Password string `thrift:"password,4" json:"password"` KeepLoggedIn bool `thrift:"keepLoggedIn,5" json:"keepLoggedIn"` AccessLocation string `thrift:"accessLocation,6" json:"accessLocation"` SystemName string `thrift:"systemName,7" json:"systemName"` IdentityProvider IdentityProvider `thrift:"identityProvider,8" json:"identityProvider"` Certificate string `thrift:"certificate,9" json:"certificate"` }
func NewLoginWithIdentityCredentialForCertificateArgs ¶
func NewLoginWithIdentityCredentialForCertificateArgs() *LoginWithIdentityCredentialForCertificateArgs
func (*LoginWithIdentityCredentialForCertificateArgs) GetAccessLocation ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetAccessLocation() string
func (*LoginWithIdentityCredentialForCertificateArgs) GetCertificate ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetCertificate() string
func (*LoginWithIdentityCredentialForCertificateArgs) GetIdentifier ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetIdentifier() string
func (*LoginWithIdentityCredentialForCertificateArgs) GetIdentityProvider ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetIdentityProvider() IdentityProvider
func (*LoginWithIdentityCredentialForCertificateArgs) GetKeepLoggedIn ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetKeepLoggedIn() bool
func (*LoginWithIdentityCredentialForCertificateArgs) GetPassword ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetPassword() string
func (*LoginWithIdentityCredentialForCertificateArgs) GetSystemName ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) GetSystemName() string
func (*LoginWithIdentityCredentialForCertificateArgs) Read ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) Read(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField3 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField3(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField4 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField4(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField5 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField5(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField6 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField6(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField7 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField7(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField8 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField8(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) ReadField9 ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) ReadField9(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateArgs) String ¶
func (p *LoginWithIdentityCredentialForCertificateArgs) String() string
type LoginWithIdentityCredentialForCertificateResult ¶
type LoginWithIdentityCredentialForCertificateResult struct { Success *LoginResult_ `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewLoginWithIdentityCredentialForCertificateResult ¶
func NewLoginWithIdentityCredentialForCertificateResult() *LoginWithIdentityCredentialForCertificateResult
func (*LoginWithIdentityCredentialForCertificateResult) GetE ¶
func (p *LoginWithIdentityCredentialForCertificateResult) GetE() *TalkException
func (*LoginWithIdentityCredentialForCertificateResult) GetSuccess ¶
func (p *LoginWithIdentityCredentialForCertificateResult) GetSuccess() *LoginResult_
func (*LoginWithIdentityCredentialForCertificateResult) IsSetE ¶
func (p *LoginWithIdentityCredentialForCertificateResult) IsSetE() bool
func (*LoginWithIdentityCredentialForCertificateResult) IsSetSuccess ¶
func (p *LoginWithIdentityCredentialForCertificateResult) IsSetSuccess() bool
func (*LoginWithIdentityCredentialForCertificateResult) Read ¶
func (p *LoginWithIdentityCredentialForCertificateResult) Read(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateResult) ReadField0 ¶
func (p *LoginWithIdentityCredentialForCertificateResult) ReadField0(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateResult) ReadField1 ¶
func (p *LoginWithIdentityCredentialForCertificateResult) ReadField1(iprot thrift.TProtocol) error
func (*LoginWithIdentityCredentialForCertificateResult) String ¶
func (p *LoginWithIdentityCredentialForCertificateResult) String() string
type LoginWithVerifierForCertificateArgs ¶
type LoginWithVerifierForCertificateArgs struct { // unused fields # 1 to 2 Verifier string `thrift:"verifier,3" json:"verifier"` }
func NewLoginWithVerifierForCertificateArgs ¶
func NewLoginWithVerifierForCertificateArgs() *LoginWithVerifierForCertificateArgs
func (*LoginWithVerifierForCertificateArgs) GetVerifier ¶
func (p *LoginWithVerifierForCertificateArgs) GetVerifier() string
func (*LoginWithVerifierForCertificateArgs) Read ¶
func (p *LoginWithVerifierForCertificateArgs) Read(iprot thrift.TProtocol) error
func (*LoginWithVerifierForCertificateArgs) ReadField3 ¶
func (p *LoginWithVerifierForCertificateArgs) ReadField3(iprot thrift.TProtocol) error
func (*LoginWithVerifierForCertificateArgs) String ¶
func (p *LoginWithVerifierForCertificateArgs) String() string
type LoginWithVerifierForCertificateResult ¶
type LoginWithVerifierForCertificateResult struct { Success *LoginResult_ `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewLoginWithVerifierForCertificateResult ¶
func NewLoginWithVerifierForCertificateResult() *LoginWithVerifierForCertificateResult
func (*LoginWithVerifierForCertificateResult) GetE ¶
func (p *LoginWithVerifierForCertificateResult) GetE() *TalkException
func (*LoginWithVerifierForCertificateResult) GetSuccess ¶
func (p *LoginWithVerifierForCertificateResult) GetSuccess() *LoginResult_
func (*LoginWithVerifierForCertificateResult) IsSetE ¶
func (p *LoginWithVerifierForCertificateResult) IsSetE() bool
func (*LoginWithVerifierForCertificateResult) IsSetSuccess ¶
func (p *LoginWithVerifierForCertificateResult) IsSetSuccess() bool
func (*LoginWithVerifierForCertificateResult) Read ¶
func (p *LoginWithVerifierForCertificateResult) Read(iprot thrift.TProtocol) error
func (*LoginWithVerifierForCertificateResult) ReadField0 ¶
func (p *LoginWithVerifierForCertificateResult) ReadField0(iprot thrift.TProtocol) error
func (*LoginWithVerifierForCertificateResult) ReadField1 ¶
func (p *LoginWithVerifierForCertificateResult) ReadField1(iprot thrift.TProtocol) error
func (*LoginWithVerifierForCertificateResult) String ¶
func (p *LoginWithVerifierForCertificateResult) String() string
type Message ¶
type Message struct { From string `thrift:"from,1" json:"from"` To string `thrift:"to,2" json:"to"` ToType MIDType `thrift:"toType,3" json:"toType"` Id string `thrift:"id,4" json:"id"` CreatedTime int64 `thrift:"createdTime,5" json:"createdTime"` DeliveredTime int64 `thrift:"deliveredTime,6" json:"deliveredTime"` // unused fields # 7 to 9 Text string `thrift:"text,10" json:"text"` Location *Location `thrift:"location,11" json:"location"` // unused fields # 12 to 13 HasContent bool `thrift:"hasContent,14" json:"hasContent"` ContentType ContentType `thrift:"contentType,15" json:"contentType"` // unused field # 16 ContentPreview []byte `thrift:"contentPreview,17" json:"contentPreview"` ContentMetadata map[string]string `thrift:"contentMetadata,18" json:"contentMetadata"` }
var MessageOperation_Message_DEFAULT *Message
var Operation_Message_DEFAULT *Message
func NewMessage ¶
func NewMessage() *Message
func (*Message) GetContentMetadata ¶
func (*Message) GetContentPreview ¶
func (*Message) GetContentType ¶
func (p *Message) GetContentType() ContentType
func (*Message) GetCreatedTime ¶
func (*Message) GetDeliveredTime ¶
func (*Message) GetHasContent ¶
func (*Message) GetLocation ¶
func (*Message) IsSetLocation ¶
type MessageOperation ¶
type MessageOperation struct { Revision int64 `thrift:"revision,1" json:"revision"` CreatedTime int64 `thrift:"createdTime,2" json:"createdTime"` TypeA1 MessageOperationType `thrift:"type,3" json:"type"` ReqSeq int32 `thrift:"reqSeq,4" json:"reqSeq"` Status OpStatus `thrift:"status,5" json:"status"` // unused fields # 6 to 9 Param1 string `thrift:"param1,10" json:"param1"` Param2 string `thrift:"param2,11" json:"param2"` Param3 string `thrift:"param3,12" json:"param3"` // unused fields # 13 to 19 Message *Message `thrift:"message,20" json:"message"` }
func NewMessageOperation ¶
func NewMessageOperation() *MessageOperation
func (*MessageOperation) GetCreatedTime ¶
func (p *MessageOperation) GetCreatedTime() int64
func (*MessageOperation) GetMessage ¶
func (p *MessageOperation) GetMessage() *Message
func (*MessageOperation) GetParam1 ¶
func (p *MessageOperation) GetParam1() string
func (*MessageOperation) GetParam2 ¶
func (p *MessageOperation) GetParam2() string
func (*MessageOperation) GetParam3 ¶
func (p *MessageOperation) GetParam3() string
func (*MessageOperation) GetReqSeq ¶
func (p *MessageOperation) GetReqSeq() int32
func (*MessageOperation) GetRevision ¶
func (p *MessageOperation) GetRevision() int64
func (*MessageOperation) GetStatus ¶
func (p *MessageOperation) GetStatus() OpStatus
func (*MessageOperation) GetTypeA1 ¶
func (p *MessageOperation) GetTypeA1() MessageOperationType
func (*MessageOperation) IsSetMessage ¶
func (p *MessageOperation) IsSetMessage() bool
func (*MessageOperation) ReadField1 ¶
func (p *MessageOperation) ReadField1(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField10 ¶
func (p *MessageOperation) ReadField10(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField11 ¶
func (p *MessageOperation) ReadField11(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField12 ¶
func (p *MessageOperation) ReadField12(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField2 ¶
func (p *MessageOperation) ReadField2(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField20 ¶
func (p *MessageOperation) ReadField20(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField3 ¶
func (p *MessageOperation) ReadField3(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField4 ¶
func (p *MessageOperation) ReadField4(iprot thrift.TProtocol) error
func (*MessageOperation) ReadField5 ¶
func (p *MessageOperation) ReadField5(iprot thrift.TProtocol) error
func (*MessageOperation) String ¶
func (p *MessageOperation) String() string
type MessageOperationType ¶
type MessageOperationType int64
const ( MessageOperationType_SEND_MESSAGE MessageOperationType = 1 MessageOperationType_RECEIVE_MESSAGE MessageOperationType = 2 MessageOperationType_READ_MESSAGE MessageOperationType = 3 MessageOperationType_NOTIFIED_READ_MESSAGE MessageOperationType = 4 MessageOperationType_NOTIFIED_JOIN_CHAT MessageOperationType = 5 MessageOperationType_FAILED_SEND_MESSAGE MessageOperationType = 6 MessageOperationType_SEND_CONTENT MessageOperationType = 7 MessageOperationType_SEND_CONTENT_RECEIPT MessageOperationType = 8 MessageOperationType_SEND_CHAT_REMOVED MessageOperationType = 9 MessageOperationType_REMOVE_ALL_MESSAGES MessageOperationType = 10 )
func MessageOperationTypeFromString ¶
func MessageOperationTypeFromString(s string) (MessageOperationType, error)
func MessageOperationTypePtr ¶
func MessageOperationTypePtr(v MessageOperationType) *MessageOperationType
func (MessageOperationType) String ¶
func (p MessageOperationType) String() string
type MessageOperations ¶
type MessageOperations struct { Operations []*MessageOperation `thrift:"operations,1" json:"operations"` EndFlag bool `thrift:"endFlag,2" json:"endFlag"` }
var FetchMessageOperationsResult_Success_DEFAULT *MessageOperations
func NewMessageOperations ¶
func NewMessageOperations() *MessageOperations
func (*MessageOperations) GetEndFlag ¶
func (p *MessageOperations) GetEndFlag() bool
func (*MessageOperations) GetOperations ¶
func (p *MessageOperations) GetOperations() []*MessageOperation
func (*MessageOperations) ReadField1 ¶
func (p *MessageOperations) ReadField1(iprot thrift.TProtocol) error
func (*MessageOperations) ReadField2 ¶
func (p *MessageOperations) ReadField2(iprot thrift.TProtocol) error
func (*MessageOperations) String ¶
func (p *MessageOperations) String() string
type MessageService ¶
type MessageService interface { // Parameters: // - LocalRevision // - LastOpTimestamp // - Count FetchMessageOperations(localRevision int64, lastOpTimestamp int64, count int32) (r *MessageOperations, err error) // Parameters: // - ChatId GetLastReadMessageIds(chatId string) (r *LastReadMessageIds, err error) // Parameters: // - ChatIds MultiGetLastReadMessageIds(chatIds []string) (r []*LastReadMessageIds, err error) }
type MessageServiceClient ¶
type MessageServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewMessageServiceClientFactory ¶
func NewMessageServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MessageServiceClient
func NewMessageServiceClientProtocol ¶
func NewMessageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MessageServiceClient
func (*MessageServiceClient) FetchMessageOperations ¶
func (p *MessageServiceClient) FetchMessageOperations(localRevision int64, lastOpTimestamp int64, count int32) (r *MessageOperations, err error)
Parameters:
- LocalRevision
- LastOpTimestamp
- Count
func (*MessageServiceClient) GetLastReadMessageIds ¶
func (p *MessageServiceClient) GetLastReadMessageIds(chatId string) (r *LastReadMessageIds, err error)
Parameters:
- ChatId
func (*MessageServiceClient) MultiGetLastReadMessageIds ¶
func (p *MessageServiceClient) MultiGetLastReadMessageIds(chatIds []string) (r []*LastReadMessageIds, err error)
Parameters:
- ChatIds
type MessageServiceProcessor ¶
type MessageServiceProcessor struct {
// contains filtered or unexported fields
}
func NewMessageServiceProcessor ¶
func NewMessageServiceProcessor(handler MessageService) *MessageServiceProcessor
func (*MessageServiceProcessor) AddToProcessorMap ¶
func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*MessageServiceProcessor) GetProcessorFunction ¶
func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*MessageServiceProcessor) Process ¶
func (p *MessageServiceProcessor) Process(iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*MessageServiceProcessor) ProcessorMap ¶
func (p *MessageServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type MultiGetLastReadMessageIdsArgs ¶
type MultiGetLastReadMessageIdsArgs struct { // unused field # 1 ChatIds []string `thrift:"chatIds,2" json:"chatIds"` }
func NewMultiGetLastReadMessageIdsArgs ¶
func NewMultiGetLastReadMessageIdsArgs() *MultiGetLastReadMessageIdsArgs
func (*MultiGetLastReadMessageIdsArgs) GetChatIds ¶
func (p *MultiGetLastReadMessageIdsArgs) GetChatIds() []string
func (*MultiGetLastReadMessageIdsArgs) Read ¶
func (p *MultiGetLastReadMessageIdsArgs) Read(iprot thrift.TProtocol) error
func (*MultiGetLastReadMessageIdsArgs) ReadField2 ¶
func (p *MultiGetLastReadMessageIdsArgs) ReadField2(iprot thrift.TProtocol) error
func (*MultiGetLastReadMessageIdsArgs) String ¶
func (p *MultiGetLastReadMessageIdsArgs) String() string
type MultiGetLastReadMessageIdsResult ¶
type MultiGetLastReadMessageIdsResult struct { Success []*LastReadMessageIds `thrift:"success,0" json:"success"` E *TalkException `thrift:"e,1" json:"e"` }
func NewMultiGetLastReadMessageIdsResult ¶
func NewMultiGetLastReadMessageIdsResult() *MultiGetLastReadMessageIdsResult
func (*MultiGetLastReadMessageIdsResult) GetE ¶
func (p *MultiGetLastReadMessageIdsResult) GetE() *TalkException
func (*MultiGetLastReadMessageIdsResult) GetSuccess ¶
func (p *MultiGetLastReadMessageIdsResult) GetSuccess() []*LastReadMessageIds
func (*MultiGetLastReadMessageIdsResult) IsSetE ¶
func (p *MultiGetLastReadMessageIdsResult) IsSetE() bool
func (*MultiGetLastReadMessageIdsResult) IsSetSuccess ¶
func (p *MultiGetLastReadMessageIdsResult) IsSetSuccess() bool
func (*MultiGetLastReadMessageIdsResult) Read ¶
func (p *MultiGetLastReadMessageIdsResult) Read(iprot thrift.TProtocol) error
func (*MultiGetLastReadMessageIdsResult) ReadField0 ¶
func (p *MultiGetLastReadMessageIdsResult) ReadField0(iprot thrift.TProtocol) error
func (*MultiGetLastReadMessageIdsResult) ReadField1 ¶
func (p *MultiGetLastReadMessageIdsResult) ReadField1(iprot thrift.TProtocol) error
func (*MultiGetLastReadMessageIdsResult) String ¶
func (p *MultiGetLastReadMessageIdsResult) String() string
type OpType ¶
type OpType int64
const ( OpType_END_OF_OPERATION OpType = 0 OpType_UPDATE_PROFILE OpType = 1 OpType_NOTIFIED_UPDATE_PROFILE OpType = 2 OpType_REGISTER_USERID OpType = 3 OpType_ADD_CONTACT OpType = 4 OpType_NOTIFIED_ADD_CONTACT OpType = 5 OpType_BLOCK_CONTACT OpType = 6 OpType_UNBLOCK_CONTACT OpType = 7 OpType_NOTIFIED_RECOMMEND_CONTACT OpType = 8 OpType_CREATE_GROUP OpType = 9 OpType_UPDATE_GROUP OpType = 10 OpType_NOTIFIED_UPDATE_GROUP OpType = 11 OpType_INVITE_INTO_GROUP OpType = 12 OpType_NOTIFIED_INVITE_INTO_GROUP OpType = 13 OpType_LEAVE_GROUP OpType = 14 OpType_NOTIFIED_LEAVE_GROUP OpType = 15 OpType_ACCEPT_GROUP_INVITATION OpType = 16 OpType_NOTIFIED_ACCEPT_GROUP_INVITATION OpType = 17 OpType_KICKOUT_FROM_GROUP OpType = 18 OpType_NOTIFIED_KICKOUT_FROM_GROUP OpType = 19 OpType_CREATE_ROOM OpType = 20 OpType_INVITE_INTO_ROOM OpType = 21 OpType_NOTIFIED_INVITE_INTO_ROOM OpType = 22 OpType_LEAVE_ROOM OpType = 23 OpType_NOTIFIED_LEAVE_ROOM OpType = 24 OpType_SEND_MESSAGE OpType = 25 OpType_RECEIVE_MESSAGE OpType = 26 OpType_SEND_MESSAGE_RECEIPT OpType = 27 OpType_RECEIVE_MESSAGE_RECEIPT OpType = 28 OpType_SEND_CONTENT_RECEIPT OpType = 29 OpType_RECEIVE_ANNOUNCEMENT OpType = 30 OpType_CANCEL_INVITATION_GROUP OpType = 31 OpType_NOTIFIED_CANCEL_INVITATION_GROUP OpType = 32 OpType_NOTIFIED_UNREGISTER_USER OpType = 33 OpType_REJECT_GROUP_INVITATION OpType = 34 OpType_NOTIFIED_REJECT_GROUP_INVITATION OpType = 35 OpType_UPDATE_SETTINGS OpType = 36 OpType_NOTIFIED_REGISTER_USER OpType = 37 OpType_INVITE_VIA_EMAIL OpType = 38 OpType_NOTIFIED_REQUEST_RECOVERY OpType = 39 OpType_SEND_CHAT_CHECKED OpType = 40 OpType_SEND_CHAT_REMOVED OpType = 41 OpType_NOTIFIED_FORCE_SYNC OpType = 42 OpType_SEND_CONTENT OpType = 43 OpType_SEND_MESSAGE_MYHOME OpType = 44 OpType_NOTIFIED_UPDATE_CONTENT_PREVIEW OpType = 45 OpType_REMOVE_ALL_MESSAGES OpType = 46 OpType_NOTIFIED_UPDATE_PURCHASES OpType = 47 OpType_DUMMY OpType = 48 OpType_UPDATE_CONTACT OpType = 49 OpType_NOTIFIED_RECEIVED_CALL OpType = 50 OpType_CANCEL_CALL OpType = 51 OpType_NOTIFIED_REDIRECT OpType = 52 OpType_NOTIFIED_CHANNEL_SYNC OpType = 53 OpType_FAILED_SEND_MESSAGE OpType = 54 OpType_NOTIFIED_READ_MESSAGE OpType = 55 OpType_FAILED_EMAIL_CONFIRMATION OpType = 56 OpType_NOTIFIED_CHAT_CONTENT OpType = 58 OpType_NOTIFIED_PUSH_NOTICENTER_ITEM OpType = 59 )
func OpTypeFromString ¶
type Operation ¶
type Operation struct { Revision int64 `thrift:"revision,1" json:"revision"` CreatedTime int64 `thrift:"createdTime,2" json:"createdTime"` TypeA1 OpType `thrift:"type,3" json:"type"` ReqSeq int32 `thrift:"reqSeq,4" json:"reqSeq"` Checksum string `thrift:"checksum,5" json:"checksum"` // unused field # 6 Status OpStatus `thrift:"status,7" json:"status"` // unused fields # 8 to 9 Param1 string `thrift:"param1,10" json:"param1"` Param2 string `thrift:"param2,11" json:"param2"` Param3 string `thrift:"param3,12" json:"param3"` // unused fields # 13 to 19 Message *Message `thrift:"message,20" json:"message"` }
func NewOperation ¶
func NewOperation() *Operation
func (*Operation) GetChecksum ¶
func (*Operation) GetCreatedTime ¶
func (*Operation) GetMessage ¶
func (*Operation) GetRevision ¶
func (*Operation) IsSetMessage ¶
type Profile ¶
type Profile struct { Mid string `thrift:"mid,1" json:"mid"` // unused field # 2 Userid string `thrift:"userid,3" json:"userid"` // unused fields # 4 to 9 Phone string `thrift:"phone,10" json:"phone"` Email string `thrift:"email,11" json:"email"` RegionCode string `thrift:"regionCode,12" json:"regionCode"` // unused fields # 13 to 19 DisplayName string `thrift:"displayName,20" json:"displayName"` PhoneticName string `thrift:"phoneticName,21" json:"phoneticName"` PictureStatus string `thrift:"pictureStatus,22" json:"pictureStatus"` ThumbnailUrl string `thrift:"thumbnailUrl,23" json:"thumbnailUrl"` StatusMessage string `thrift:"statusMessage,24" json:"statusMessage"` // unused fields # 25 to 30 AllowSearchByUserid bool `thrift:"allowSearchByUserid,31" json:"allowSearchByUserid"` AllowSearchByEmail bool `thrift:"allowSearchByEmail,32" json:"allowSearchByEmail"` PicturePath string `thrift:"picturePath,33" json:"picturePath"` }
var GetProfileResult_Success_DEFAULT *Profile
func NewProfile ¶
func NewProfile() *Profile
func (*Profile) GetAllowSearchByEmail ¶
func (*Profile) GetAllowSearchByUserid ¶
func (*Profile) GetDisplayName ¶
func (*Profile) GetPhoneticName ¶
func (*Profile) GetPicturePath ¶
func (*Profile) GetPictureStatus ¶
func (*Profile) GetRegionCode ¶
func (*Profile) GetStatusMessage ¶
func (*Profile) GetThumbnailUrl ¶
type TMessageBox ¶
type TMessageBox struct { Id string `thrift:"id,1" json:"id"` ChannelId string `thrift:"channelId,2" json:"channelId"` // unused fields # 3 to 4 LastSeq int64 `thrift:"lastSeq,5" json:"lastSeq"` UnreadCount int64 `thrift:"unreadCount,6" json:"unreadCount"` LastModifiedTime int64 `thrift:"lastModifiedTime,7" json:"lastModifiedTime"` Status int32 `thrift:"status,8" json:"status"` MidType MIDType `thrift:"midType,9" json:"midType"` LastMessages []*Message `thrift:"lastMessages,10" json:"lastMessages"` }
var TMessageBoxWrapUp_MessageBox_DEFAULT *TMessageBox
func NewTMessageBox ¶
func NewTMessageBox() *TMessageBox
func (*TMessageBox) GetChannelId ¶
func (p *TMessageBox) GetChannelId() string
func (*TMessageBox) GetId ¶
func (p *TMessageBox) GetId() string
func (*TMessageBox) GetLastMessages ¶
func (p *TMessageBox) GetLastMessages() []*Message
func (*TMessageBox) GetLastModifiedTime ¶
func (p *TMessageBox) GetLastModifiedTime() int64
func (*TMessageBox) GetLastSeq ¶
func (p *TMessageBox) GetLastSeq() int64
func (*TMessageBox) GetMidType ¶
func (p *TMessageBox) GetMidType() MIDType
func (*TMessageBox) GetStatus ¶
func (p *TMessageBox) GetStatus() int32
func (*TMessageBox) GetUnreadCount ¶
func (p *TMessageBox) GetUnreadCount() int64
func (*TMessageBox) ReadField1 ¶
func (p *TMessageBox) ReadField1(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField10 ¶
func (p *TMessageBox) ReadField10(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField2 ¶
func (p *TMessageBox) ReadField2(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField5 ¶
func (p *TMessageBox) ReadField5(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField6 ¶
func (p *TMessageBox) ReadField6(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField7 ¶
func (p *TMessageBox) ReadField7(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField8 ¶
func (p *TMessageBox) ReadField8(iprot thrift.TProtocol) error
func (*TMessageBox) ReadField9 ¶
func (p *TMessageBox) ReadField9(iprot thrift.TProtocol) error
func (*TMessageBox) String ¶
func (p *TMessageBox) String() string
type TMessageBoxWrapUp ¶
type TMessageBoxWrapUp struct { MessageBox *TMessageBox `thrift:"messageBox,1" json:"messageBox"` Name string `thrift:"name,2" json:"name"` Contacts []*Contact `thrift:"contacts,3" json:"contacts"` PictureRevision string `thrift:"pictureRevision,4" json:"pictureRevision"` }
func NewTMessageBoxWrapUp ¶
func NewTMessageBoxWrapUp() *TMessageBoxWrapUp
func (*TMessageBoxWrapUp) GetContacts ¶
func (p *TMessageBoxWrapUp) GetContacts() []*Contact
func (*TMessageBoxWrapUp) GetMessageBox ¶
func (p *TMessageBoxWrapUp) GetMessageBox() *TMessageBox
func (*TMessageBoxWrapUp) GetName ¶
func (p *TMessageBoxWrapUp) GetName() string
func (*TMessageBoxWrapUp) GetPictureRevision ¶
func (p *TMessageBoxWrapUp) GetPictureRevision() string
func (*TMessageBoxWrapUp) IsSetMessageBox ¶
func (p *TMessageBoxWrapUp) IsSetMessageBox() bool
func (*TMessageBoxWrapUp) ReadField1 ¶
func (p *TMessageBoxWrapUp) ReadField1(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUp) ReadField2 ¶
func (p *TMessageBoxWrapUp) ReadField2(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUp) ReadField3 ¶
func (p *TMessageBoxWrapUp) ReadField3(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUp) ReadField4 ¶
func (p *TMessageBoxWrapUp) ReadField4(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUp) String ¶
func (p *TMessageBoxWrapUp) String() string
type TMessageBoxWrapUpResponse ¶
type TMessageBoxWrapUpResponse struct { MessageBoxWrapUpList []*TMessageBoxWrapUp `thrift:"messageBoxWrapUpList,1" json:"messageBoxWrapUpList"` TotalSize int32 `thrift:"totalSize,2" json:"totalSize"` }
var GetMessageBoxCompactWrapUpListResult_Success_DEFAULT *TMessageBoxWrapUpResponse
func NewTMessageBoxWrapUpResponse ¶
func NewTMessageBoxWrapUpResponse() *TMessageBoxWrapUpResponse
func (*TMessageBoxWrapUpResponse) GetMessageBoxWrapUpList ¶
func (p *TMessageBoxWrapUpResponse) GetMessageBoxWrapUpList() []*TMessageBoxWrapUp
func (*TMessageBoxWrapUpResponse) GetTotalSize ¶
func (p *TMessageBoxWrapUpResponse) GetTotalSize() int32
func (*TMessageBoxWrapUpResponse) Read ¶
func (p *TMessageBoxWrapUpResponse) Read(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUpResponse) ReadField1 ¶
func (p *TMessageBoxWrapUpResponse) ReadField1(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUpResponse) ReadField2 ¶
func (p *TMessageBoxWrapUpResponse) ReadField2(iprot thrift.TProtocol) error
func (*TMessageBoxWrapUpResponse) String ¶
func (p *TMessageBoxWrapUpResponse) String() string
type TalkException ¶
type TalkException struct { Code ErrorCode `thrift:"code,1" json:"code"` Reason string `thrift:"reason,2" json:"reason"` ParameterMap map[string]string `thrift:"parameterMap,3" json:"parameterMap"` }
var FetchMessageOperationsResult_E_DEFAULT *TalkException
var FetchOperationsResult_E_DEFAULT *TalkException
var FindAndAddContactsByMidResult_E_DEFAULT *TalkException
var FindAndAddContactsByUseridResult_E_DEFAULT *TalkException
var GetAllContactIdsResult_E_DEFAULT *TalkException
var GetContactsResult_E_DEFAULT *TalkException
var GetLastOpRevisionResult_E_DEFAULT *TalkException
var GetLastReadMessageIdsResult_E_DEFAULT *TalkException
var GetMessageBoxCompactWrapUpListResult_E_DEFAULT *TalkException
var GetProfileResult_E_DEFAULT *TalkException
var LoginWithIdentityCredentialForCertificateResult_E_DEFAULT *TalkException
var LoginWithVerifierForCertificateResult_E_DEFAULT *TalkException
var MultiGetLastReadMessageIdsResult_E_DEFAULT *TalkException
var UpdateContactSettingResult_E_DEFAULT *TalkException
func NewTalkException ¶
func NewTalkException() *TalkException
func (*TalkException) Error ¶
func (p *TalkException) Error() string
func (*TalkException) GetCode ¶
func (p *TalkException) GetCode() ErrorCode
func (*TalkException) GetParameterMap ¶
func (p *TalkException) GetParameterMap() map[string]string
func (*TalkException) GetReason ¶
func (p *TalkException) GetReason() string
func (*TalkException) ReadField1 ¶
func (p *TalkException) ReadField1(iprot thrift.TProtocol) error
func (*TalkException) ReadField2 ¶
func (p *TalkException) ReadField2(iprot thrift.TProtocol) error
func (*TalkException) ReadField3 ¶
func (p *TalkException) ReadField3(iprot thrift.TProtocol) error
func (*TalkException) String ¶
func (p *TalkException) String() string
type TalkService ¶
type TalkService interface { FetchOperations(localRev int64, count int32) (r []*Operation, err error) // Parameters: // - ReqSeq // - Emails FindAndAddContactsByMid(reqSeq int32, mid string) (r map[string]*Contact, err error) // Parameters: // - ReqSeq // - Phones FindAndAddContactsByUserid(reqSeq int32, userid string) (r map[string]*Contact, err error) // Parameters: // - Userid GetAllContactIds() (r []string, err error) // Parameters: // - KeepLoggedIn // - SystemName GetContacts(ids []string) (r []*Contact, err error) GetLastOpRevision() (r int64, err error) // Parameters: // - IdentityProvider // - Identifier // - Password // - KeepLoggedIn // - AccessLocation // - SystemName // - Certificate GetProfile() (r *Profile, err error) LoginWithIdentityCredentialForCertificate(identityProvider IdentityProvider, identifier string, password string, keepLoggedIn bool, accessLocation string, systemName string, certificate string) (r *LoginResult_, err error) // Parameters: // - Verifier LoginWithVerifierForCertificate(verifier string) (r *LoginResult_, err error) UpdateContactSetting(reqSeq int32, mid string, flag ContactSetting, value string) (err error) }
type TalkServiceClient ¶
type TalkServiceClient struct { Transport thrift.TTransport ProtocolFactory thrift.TProtocolFactory InputProtocol thrift.TProtocol OutputProtocol thrift.TProtocol SeqId int32 }
func NewTalkServiceClientFactory ¶
func NewTalkServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TalkServiceClient
func (*TalkServiceClient) FetchOperations ¶
func (p *TalkServiceClient) FetchOperations(localRev int64, count int32) (r []*Operation, err error)
func (*TalkServiceClient) FindAndAddContactsByMid ¶
func (*TalkServiceClient) FindAndAddContactsByUserid ¶
func (*TalkServiceClient) GetAllContactIds ¶
func (p *TalkServiceClient) GetAllContactIds() (r []string, err error)
func (*TalkServiceClient) GetContacts ¶
func (p *TalkServiceClient) GetContacts(ids []string) (r []*Contact, err error)
func (*TalkServiceClient) GetLastOpRevision ¶
func (p *TalkServiceClient) GetLastOpRevision() (r int64, err error)
func (*TalkServiceClient) GetMessageBoxCompactWrapUpList ¶
func (p *TalkServiceClient) GetMessageBoxCompactWrapUpList(start int32, messageBoxCount int32) (r *TMessageBoxWrapUpResponse, err error)
func (*TalkServiceClient) GetProfile ¶
func (p *TalkServiceClient) GetProfile() (r *Profile, err error)
func (*TalkServiceClient) LoginWithIdentityCredentialForCertificate ¶
func (p *TalkServiceClient) LoginWithIdentityCredentialForCertificate(identityProvider IdentityProvider, identifier string, password string, keepLoggedIn bool, accessLocation string, systemName string, certificate string) (r *LoginResult_, err error)
func (*TalkServiceClient) LoginWithVerifierForCertificate ¶
func (p *TalkServiceClient) LoginWithVerifierForCertificate(verifier string) (r *LoginResult_, err error)
func (*TalkServiceClient) UpdateContactSetting ¶
func (p *TalkServiceClient) UpdateContactSetting(reqSeq int32, mid string, flag ContactSetting, value string) (err error)
type UpdateContactSettingArgs ¶
type UpdateContactSettingArgs struct { ReqSeq int32 `thrift:"reqSeq,1" json:"reqSeq"` Mid string `thrift:"mid,2" json:"mid"` Flag ContactSetting `thrift:"flag,3" json:"flag"` Value string `thrift:"value,4" json:"value"` }
func NewUpdateContactSettingArgs ¶
func NewUpdateContactSettingArgs() *UpdateContactSettingArgs
func (*UpdateContactSettingArgs) GetFlag ¶
func (p *UpdateContactSettingArgs) GetFlag() ContactSetting
func (*UpdateContactSettingArgs) GetMid ¶
func (p *UpdateContactSettingArgs) GetMid() string
func (*UpdateContactSettingArgs) GetReqSeq ¶
func (p *UpdateContactSettingArgs) GetReqSeq() int32
func (*UpdateContactSettingArgs) GetValue ¶
func (p *UpdateContactSettingArgs) GetValue() string
func (*UpdateContactSettingArgs) Read ¶
func (p *UpdateContactSettingArgs) Read(iprot thrift.TProtocol) error
func (*UpdateContactSettingArgs) ReadField1 ¶
func (p *UpdateContactSettingArgs) ReadField1(iprot thrift.TProtocol) error
func (*UpdateContactSettingArgs) ReadField2 ¶
func (p *UpdateContactSettingArgs) ReadField2(iprot thrift.TProtocol) error
func (*UpdateContactSettingArgs) ReadField3 ¶
func (p *UpdateContactSettingArgs) ReadField3(iprot thrift.TProtocol) error
func (*UpdateContactSettingArgs) ReadField4 ¶
func (p *UpdateContactSettingArgs) ReadField4(iprot thrift.TProtocol) error
func (*UpdateContactSettingArgs) String ¶
func (p *UpdateContactSettingArgs) String() string
type UpdateContactSettingResult ¶
type UpdateContactSettingResult struct {
E *TalkException `thrift:"e,1" json:"e"`
}
func NewUpdateContactSettingResult ¶
func NewUpdateContactSettingResult() *UpdateContactSettingResult
func (*UpdateContactSettingResult) GetE ¶
func (p *UpdateContactSettingResult) GetE() *TalkException
func (*UpdateContactSettingResult) IsSetE ¶
func (p *UpdateContactSettingResult) IsSetE() bool
func (*UpdateContactSettingResult) Read ¶
func (p *UpdateContactSettingResult) Read(iprot thrift.TProtocol) error
func (*UpdateContactSettingResult) ReadField1 ¶
func (p *UpdateContactSettingResult) ReadField1(iprot thrift.TProtocol) error
func (*UpdateContactSettingResult) String ¶
func (p *UpdateContactSettingResult) String() string
Source Files
¶
- fetchoperations.go
- findandaddcontactbymid.go
- findandaddcontactbyuserid.go
- getallcontactids.go
- getcontacts.go
- getlastoprevision.go
- getmessageboxcompactwrapuplist.go
- getprofile.go
- loginwithidentitycredentialforcertificate.go
- loginwithverifierforcertificate.go
- messageservice.go
- talkservice.go
- ttypes.go
- updatecontactsetting.go
Click to show internal directories.
Click to hide internal directories.