line

package
v0.0.0-...-6659cde Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (p *Contact) GetAttributes() int32

func (*Contact) GetCapableBuddy

func (p *Contact) GetCapableBuddy() bool

func (*Contact) GetCapableMyhome

func (p *Contact) GetCapableMyhome() bool

func (*Contact) GetCapableVideoCall

func (p *Contact) GetCapableVideoCall() bool

func (*Contact) GetCapableVoiceCall

func (p *Contact) GetCapableVoiceCall() bool

func (*Contact) GetCreatedTime

func (p *Contact) GetCreatedTime() int64

func (*Contact) GetDisplayName

func (p *Contact) GetDisplayName() string

func (*Contact) GetDisplayNameOverridden

func (p *Contact) GetDisplayNameOverridden() string

func (*Contact) GetFavoriteTime

func (p *Contact) GetFavoriteTime() int64

func (*Contact) GetMid

func (p *Contact) GetMid() string

func (*Contact) GetPhoneticName

func (p *Contact) GetPhoneticName() string

func (*Contact) GetPicturePath

func (p *Contact) GetPicturePath() string

func (*Contact) GetPictureStatus

func (p *Contact) GetPictureStatus() string

func (*Contact) GetRelation

func (p *Contact) GetRelation() ContactRelation

func (*Contact) GetSettings

func (p *Contact) GetSettings() int64

func (*Contact) GetStatus

func (p *Contact) GetStatus() ContactStatus

func (*Contact) GetStatusMessage

func (p *Contact) GetStatusMessage() string

func (*Contact) GetThumbnailUrl

func (p *Contact) GetThumbnailUrl() string

func (*Contact) GetTypeA1

func (p *Contact) GetTypeA1() ContactType

func (*Contact) Read

func (p *Contact) Read(iprot thrift.TProtocol) error

func (*Contact) ReadField1

func (p *Contact) ReadField1(iprot thrift.TProtocol) error

func (*Contact) ReadField10

func (p *Contact) ReadField10(iprot thrift.TProtocol) error

func (*Contact) ReadField11

func (p *Contact) ReadField11(iprot thrift.TProtocol) error

func (*Contact) ReadField2

func (p *Contact) ReadField2(iprot thrift.TProtocol) error

func (*Contact) ReadField21

func (p *Contact) ReadField21(iprot thrift.TProtocol) error

func (*Contact) ReadField22

func (p *Contact) ReadField22(iprot thrift.TProtocol) error

func (*Contact) ReadField23

func (p *Contact) ReadField23(iprot thrift.TProtocol) error

func (*Contact) ReadField24

func (p *Contact) ReadField24(iprot thrift.TProtocol) error

func (*Contact) ReadField25

func (p *Contact) ReadField25(iprot thrift.TProtocol) error

func (*Contact) ReadField26

func (p *Contact) ReadField26(iprot thrift.TProtocol) error

func (*Contact) ReadField27

func (p *Contact) ReadField27(iprot thrift.TProtocol) error

func (*Contact) ReadField28

func (p *Contact) ReadField28(iprot thrift.TProtocol) error

func (*Contact) ReadField31

func (p *Contact) ReadField31(iprot thrift.TProtocol) error

func (*Contact) ReadField32

func (p *Contact) ReadField32(iprot thrift.TProtocol) error

func (*Contact) ReadField33

func (p *Contact) ReadField33(iprot thrift.TProtocol) error

func (*Contact) ReadField34

func (p *Contact) ReadField34(iprot thrift.TProtocol) error

func (*Contact) ReadField35

func (p *Contact) ReadField35(iprot thrift.TProtocol) error

func (*Contact) ReadField36

func (p *Contact) ReadField36(iprot thrift.TProtocol) error

func (*Contact) ReadField37

func (p *Contact) ReadField37(iprot thrift.TProtocol) error

func (*Contact) String

func (p *Contact) String() string

func (*Contact) Write

func (p *Contact) Write(oprot thrift.TProtocol) error

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 ErrorCodeFromString(s string) (ErrorCode, error)

func ErrorCodePtr

func ErrorCodePtr(v ErrorCode) *ErrorCode

func (ErrorCode) String

func (p ErrorCode) String() string

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 (*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

func (*FetchMessageOperationsArgs) Write

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 (*FetchMessageOperationsResult) GetSuccess

func (*FetchMessageOperationsResult) IsSetE

func (p *FetchMessageOperationsResult) IsSetE() bool

func (*FetchMessageOperationsResult) IsSetSuccess

func (p *FetchMessageOperationsResult) IsSetSuccess() bool

func (*FetchMessageOperationsResult) Read

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 (*FetchMessageOperationsResult) Write

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) Read

func (p *FetchOperationsArgs) Read(iprot thrift.TProtocol) error

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

func (*FetchOperationsArgs) Write

func (p *FetchOperationsArgs) Write(oprot thrift.TProtocol) error

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 (*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 (*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

func (*FetchOperationsResult) Write

func (p *FetchOperationsResult) Write(oprot thrift.TProtocol) error

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 (*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

func (*FindAndAddContactsByMidArgs) Write

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 (*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 (*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 (*FindAndAddContactsByMidResult) Write

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 (*FindAndAddContactsByUseridArgs) ReadField1

func (*FindAndAddContactsByUseridArgs) ReadField2

func (*FindAndAddContactsByUseridArgs) String

func (*FindAndAddContactsByUseridArgs) Write

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 (*FindAndAddContactsByUseridResult) GetSuccess

func (p *FindAndAddContactsByUseridResult) GetSuccess() map[string]*Contact

func (*FindAndAddContactsByUseridResult) IsSetE

func (*FindAndAddContactsByUseridResult) IsSetSuccess

func (p *FindAndAddContactsByUseridResult) IsSetSuccess() bool

func (*FindAndAddContactsByUseridResult) Read

func (*FindAndAddContactsByUseridResult) ReadField0

func (*FindAndAddContactsByUseridResult) ReadField1

func (*FindAndAddContactsByUseridResult) String

func (*FindAndAddContactsByUseridResult) Write

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

func (*GetAllContactIdsArgs) Write

func (p *GetAllContactIdsArgs) Write(oprot thrift.TProtocol) error

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 (*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 (*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

func (*GetAllContactIdsResult) Write

func (p *GetAllContactIdsResult) Write(oprot thrift.TProtocol) error

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) Read

func (p *GetContactsArgs) Read(iprot thrift.TProtocol) error

func (*GetContactsArgs) ReadField2

func (p *GetContactsArgs) ReadField2(iprot thrift.TProtocol) error

func (*GetContactsArgs) String

func (p *GetContactsArgs) String() string

func (*GetContactsArgs) Write

func (p *GetContactsArgs) Write(oprot thrift.TProtocol) error

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) Read

func (p *GetContactsResult) Read(iprot thrift.TProtocol) error

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

func (*GetContactsResult) Write

func (p *GetContactsResult) Write(oprot thrift.TProtocol) error

type GetLastOpRevisionArgs

type GetLastOpRevisionArgs struct {
}

func NewGetLastOpRevisionArgs

func NewGetLastOpRevisionArgs() *GetLastOpRevisionArgs

func (*GetLastOpRevisionArgs) Read

func (*GetLastOpRevisionArgs) String

func (p *GetLastOpRevisionArgs) String() string

func (*GetLastOpRevisionArgs) Write

func (p *GetLastOpRevisionArgs) Write(oprot thrift.TProtocol) error

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 (*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 (*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

func (*GetLastOpRevisionResult) Write

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 (*GetLastReadMessageIdsArgs) ReadField2

func (p *GetLastReadMessageIdsArgs) ReadField2(iprot thrift.TProtocol) error

func (*GetLastReadMessageIdsArgs) String

func (p *GetLastReadMessageIdsArgs) String() string

func (*GetLastReadMessageIdsArgs) Write

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 (*GetLastReadMessageIdsResult) GetSuccess

func (*GetLastReadMessageIdsResult) IsSetE

func (p *GetLastReadMessageIdsResult) IsSetE() bool

func (*GetLastReadMessageIdsResult) IsSetSuccess

func (p *GetLastReadMessageIdsResult) IsSetSuccess() bool

func (*GetLastReadMessageIdsResult) Read

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

func (*GetLastReadMessageIdsResult) Write

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 (*GetMessageBoxCompactWrapUpListArgs) Read

func (*GetMessageBoxCompactWrapUpListArgs) ReadField2

func (*GetMessageBoxCompactWrapUpListArgs) ReadField3

func (*GetMessageBoxCompactWrapUpListArgs) String

func (*GetMessageBoxCompactWrapUpListArgs) Write

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 (*GetMessageBoxCompactWrapUpListResult) GetSuccess

func (*GetMessageBoxCompactWrapUpListResult) IsSetE

func (*GetMessageBoxCompactWrapUpListResult) IsSetSuccess

func (p *GetMessageBoxCompactWrapUpListResult) IsSetSuccess() bool

func (*GetMessageBoxCompactWrapUpListResult) Read

func (*GetMessageBoxCompactWrapUpListResult) ReadField0

func (*GetMessageBoxCompactWrapUpListResult) ReadField1

func (*GetMessageBoxCompactWrapUpListResult) String

func (*GetMessageBoxCompactWrapUpListResult) Write

type GetProfileArgs

type GetProfileArgs struct {
}

func NewGetProfileArgs

func NewGetProfileArgs() *GetProfileArgs

func (*GetProfileArgs) Read

func (p *GetProfileArgs) Read(iprot thrift.TProtocol) error

func (*GetProfileArgs) String

func (p *GetProfileArgs) String() string

func (*GetProfileArgs) Write

func (p *GetProfileArgs) Write(oprot thrift.TProtocol) error

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) Read

func (p *GetProfileResult) Read(iprot thrift.TProtocol) error

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

func (*GetProfileResult) Write

func (p *GetProfileResult) Write(oprot thrift.TProtocol) error

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) Read

func (p *LastReadMessageId) Read(iprot thrift.TProtocol) error

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

func (*LastReadMessageId) Write

func (p *LastReadMessageId) Write(oprot thrift.TProtocol) error

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) Read

func (p *LastReadMessageIds) Read(iprot thrift.TProtocol) error

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

func (*LastReadMessageIds) Write

func (p *LastReadMessageIds) Write(oprot thrift.TProtocol) error

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 (p *Location) GetAddress() string

func (*Location) GetLatitude

func (p *Location) GetLatitude() float64

func (*Location) GetLongitude

func (p *Location) GetLongitude() float64

func (*Location) GetPhone

func (p *Location) GetPhone() string

func (*Location) GetTitle

func (p *Location) GetTitle() string

func (*Location) Read

func (p *Location) Read(iprot thrift.TProtocol) error

func (*Location) ReadField1

func (p *Location) ReadField1(iprot thrift.TProtocol) error

func (*Location) ReadField2

func (p *Location) ReadField2(iprot thrift.TProtocol) error

func (*Location) ReadField3

func (p *Location) ReadField3(iprot thrift.TProtocol) error

func (*Location) ReadField4

func (p *Location) ReadField4(iprot thrift.TProtocol) error

func (*Location) ReadField5

func (p *Location) ReadField5(iprot thrift.TProtocol) error

func (*Location) String

func (p *Location) String() string

func (*Location) Write

func (p *Location) Write(oprot thrift.TProtocol) error

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_) Read

func (p *LoginResult_) Read(iprot thrift.TProtocol) error

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

func (*LoginResult_) Write

func (p *LoginResult_) Write(oprot thrift.TProtocol) error

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 (*LoginWithIdentityCredentialForCertificateArgs) GetCertificate

func (*LoginWithIdentityCredentialForCertificateArgs) GetIdentifier

func (*LoginWithIdentityCredentialForCertificateArgs) GetIdentityProvider

func (*LoginWithIdentityCredentialForCertificateArgs) GetKeepLoggedIn

func (*LoginWithIdentityCredentialForCertificateArgs) GetPassword

func (*LoginWithIdentityCredentialForCertificateArgs) GetSystemName

func (*LoginWithIdentityCredentialForCertificateArgs) Read

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField3

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField4

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField5

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField6

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField7

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField8

func (*LoginWithIdentityCredentialForCertificateArgs) ReadField9

func (*LoginWithIdentityCredentialForCertificateArgs) String

func (*LoginWithIdentityCredentialForCertificateArgs) Write

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 (*LoginWithIdentityCredentialForCertificateResult) GetSuccess

func (*LoginWithIdentityCredentialForCertificateResult) IsSetE

func (*LoginWithIdentityCredentialForCertificateResult) IsSetSuccess

func (*LoginWithIdentityCredentialForCertificateResult) Read

func (*LoginWithIdentityCredentialForCertificateResult) ReadField0

func (*LoginWithIdentityCredentialForCertificateResult) ReadField1

func (*LoginWithIdentityCredentialForCertificateResult) String

func (*LoginWithIdentityCredentialForCertificateResult) Write

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 (*LoginWithVerifierForCertificateArgs) Read

func (*LoginWithVerifierForCertificateArgs) ReadField3

func (*LoginWithVerifierForCertificateArgs) String

func (*LoginWithVerifierForCertificateArgs) Write

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 (*LoginWithVerifierForCertificateResult) GetSuccess

func (*LoginWithVerifierForCertificateResult) IsSetE

func (*LoginWithVerifierForCertificateResult) IsSetSuccess

func (p *LoginWithVerifierForCertificateResult) IsSetSuccess() bool

func (*LoginWithVerifierForCertificateResult) Read

func (*LoginWithVerifierForCertificateResult) ReadField0

func (*LoginWithVerifierForCertificateResult) ReadField1

func (*LoginWithVerifierForCertificateResult) String

func (*LoginWithVerifierForCertificateResult) Write

type MIDType

type MIDType int64
const (
	MIDType_USER  MIDType = 0
	MIDType_ROOM  MIDType = 1
	MIDType_GROUP MIDType = 2
)

func MIDTypeFromString

func MIDTypeFromString(s string) (MIDType, error)

func MIDTypePtr

func MIDTypePtr(v MIDType) *MIDType

func (MIDType) String

func (p MIDType) 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 (p *Message) GetContentMetadata() map[string]string

func (*Message) GetContentPreview

func (p *Message) GetContentPreview() []byte

func (*Message) GetContentType

func (p *Message) GetContentType() ContentType

func (*Message) GetCreatedTime

func (p *Message) GetCreatedTime() int64

func (*Message) GetDeliveredTime

func (p *Message) GetDeliveredTime() int64

func (*Message) GetFrom

func (p *Message) GetFrom() string

func (*Message) GetHasContent

func (p *Message) GetHasContent() bool

func (*Message) GetId

func (p *Message) GetId() string

func (*Message) GetLocation

func (p *Message) GetLocation() *Location

func (*Message) GetText

func (p *Message) GetText() string

func (*Message) GetTo

func (p *Message) GetTo() string

func (*Message) GetToType

func (p *Message) GetToType() MIDType

func (*Message) IsSetLocation

func (p *Message) IsSetLocation() bool

func (*Message) Read

func (p *Message) Read(iprot thrift.TProtocol) error

func (*Message) ReadField1

func (p *Message) ReadField1(iprot thrift.TProtocol) error

func (*Message) ReadField10

func (p *Message) ReadField10(iprot thrift.TProtocol) error

func (*Message) ReadField11

func (p *Message) ReadField11(iprot thrift.TProtocol) error

func (*Message) ReadField14

func (p *Message) ReadField14(iprot thrift.TProtocol) error

func (*Message) ReadField15

func (p *Message) ReadField15(iprot thrift.TProtocol) error

func (*Message) ReadField17

func (p *Message) ReadField17(iprot thrift.TProtocol) error

func (*Message) ReadField18

func (p *Message) ReadField18(iprot thrift.TProtocol) error

func (*Message) ReadField2

func (p *Message) ReadField2(iprot thrift.TProtocol) error

func (*Message) ReadField3

func (p *Message) ReadField3(iprot thrift.TProtocol) error

func (*Message) ReadField4

func (p *Message) ReadField4(iprot thrift.TProtocol) error

func (*Message) ReadField5

func (p *Message) ReadField5(iprot thrift.TProtocol) error

func (*Message) ReadField6

func (p *Message) ReadField6(iprot thrift.TProtocol) error

func (*Message) String

func (p *Message) String() string

func (*Message) Write

func (p *Message) Write(oprot thrift.TProtocol) error

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) Read

func (p *MessageOperation) Read(iprot thrift.TProtocol) error

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

func (*MessageOperation) Write

func (p *MessageOperation) Write(oprot thrift.TProtocol) error

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 (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) Read

func (p *MessageOperations) Read(iprot thrift.TProtocol) error

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

func (*MessageOperations) Write

func (p *MessageOperations) Write(oprot thrift.TProtocol) error

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 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

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 (*MultiGetLastReadMessageIdsArgs) ReadField2

func (*MultiGetLastReadMessageIdsArgs) String

func (*MultiGetLastReadMessageIdsArgs) Write

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 (*MultiGetLastReadMessageIdsResult) GetSuccess

func (*MultiGetLastReadMessageIdsResult) IsSetE

func (*MultiGetLastReadMessageIdsResult) IsSetSuccess

func (p *MultiGetLastReadMessageIdsResult) IsSetSuccess() bool

func (*MultiGetLastReadMessageIdsResult) Read

func (*MultiGetLastReadMessageIdsResult) ReadField0

func (*MultiGetLastReadMessageIdsResult) ReadField1

func (*MultiGetLastReadMessageIdsResult) String

func (*MultiGetLastReadMessageIdsResult) Write

type OpStatus

type OpStatus int64
const (
	OpStatus_NORMAL         OpStatus = 0
	OpStatus_ALERT_DISABLED OpStatus = 1
)

func OpStatusFromString

func OpStatusFromString(s string) (OpStatus, error)

func OpStatusPtr

func OpStatusPtr(v OpStatus) *OpStatus

func (OpStatus) String

func (p OpStatus) 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

func OpTypeFromString(s string) (OpType, error)

func OpTypePtr

func OpTypePtr(v OpType) *OpType

func (OpType) String

func (p OpType) String() string

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 (p *Operation) GetChecksum() string

func (*Operation) GetCreatedTime

func (p *Operation) GetCreatedTime() int64

func (*Operation) GetMessage

func (p *Operation) GetMessage() *Message

func (*Operation) GetParam1

func (p *Operation) GetParam1() string

func (*Operation) GetParam2

func (p *Operation) GetParam2() string

func (*Operation) GetParam3

func (p *Operation) GetParam3() string

func (*Operation) GetReqSeq

func (p *Operation) GetReqSeq() int32

func (*Operation) GetRevision

func (p *Operation) GetRevision() int64

func (*Operation) GetStatus

func (p *Operation) GetStatus() OpStatus

func (*Operation) GetTypeA1

func (p *Operation) GetTypeA1() OpType

func (*Operation) IsSetMessage

func (p *Operation) IsSetMessage() bool

func (*Operation) Read

func (p *Operation) Read(iprot thrift.TProtocol) error

func (*Operation) ReadField1

func (p *Operation) ReadField1(iprot thrift.TProtocol) error

func (*Operation) ReadField10

func (p *Operation) ReadField10(iprot thrift.TProtocol) error

func (*Operation) ReadField11

func (p *Operation) ReadField11(iprot thrift.TProtocol) error

func (*Operation) ReadField12

func (p *Operation) ReadField12(iprot thrift.TProtocol) error

func (*Operation) ReadField2

func (p *Operation) ReadField2(iprot thrift.TProtocol) error

func (*Operation) ReadField20

func (p *Operation) ReadField20(iprot thrift.TProtocol) error

func (*Operation) ReadField3

func (p *Operation) ReadField3(iprot thrift.TProtocol) error

func (*Operation) ReadField4

func (p *Operation) ReadField4(iprot thrift.TProtocol) error

func (*Operation) ReadField5

func (p *Operation) ReadField5(iprot thrift.TProtocol) error

func (*Operation) ReadField7

func (p *Operation) ReadField7(iprot thrift.TProtocol) error

func (*Operation) String

func (p *Operation) String() string

func (*Operation) Write

func (p *Operation) Write(oprot thrift.TProtocol) error

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 (p *Profile) GetAllowSearchByEmail() bool

func (*Profile) GetAllowSearchByUserid

func (p *Profile) GetAllowSearchByUserid() bool

func (*Profile) GetDisplayName

func (p *Profile) GetDisplayName() string

func (*Profile) GetEmail

func (p *Profile) GetEmail() string

func (*Profile) GetMid

func (p *Profile) GetMid() string

func (*Profile) GetPhone

func (p *Profile) GetPhone() string

func (*Profile) GetPhoneticName

func (p *Profile) GetPhoneticName() string

func (*Profile) GetPicturePath

func (p *Profile) GetPicturePath() string

func (*Profile) GetPictureStatus

func (p *Profile) GetPictureStatus() string

func (*Profile) GetRegionCode

func (p *Profile) GetRegionCode() string

func (*Profile) GetStatusMessage

func (p *Profile) GetStatusMessage() string

func (*Profile) GetThumbnailUrl

func (p *Profile) GetThumbnailUrl() string

func (*Profile) GetUserid

func (p *Profile) GetUserid() string

func (*Profile) Read

func (p *Profile) Read(iprot thrift.TProtocol) error

func (*Profile) ReadField1

func (p *Profile) ReadField1(iprot thrift.TProtocol) error

func (*Profile) ReadField10

func (p *Profile) ReadField10(iprot thrift.TProtocol) error

func (*Profile) ReadField11

func (p *Profile) ReadField11(iprot thrift.TProtocol) error

func (*Profile) ReadField12

func (p *Profile) ReadField12(iprot thrift.TProtocol) error

func (*Profile) ReadField20

func (p *Profile) ReadField20(iprot thrift.TProtocol) error

func (*Profile) ReadField21

func (p *Profile) ReadField21(iprot thrift.TProtocol) error

func (*Profile) ReadField22

func (p *Profile) ReadField22(iprot thrift.TProtocol) error

func (*Profile) ReadField23

func (p *Profile) ReadField23(iprot thrift.TProtocol) error

func (*Profile) ReadField24

func (p *Profile) ReadField24(iprot thrift.TProtocol) error

func (*Profile) ReadField3

func (p *Profile) ReadField3(iprot thrift.TProtocol) error

func (*Profile) ReadField31

func (p *Profile) ReadField31(iprot thrift.TProtocol) error

func (*Profile) ReadField32

func (p *Profile) ReadField32(iprot thrift.TProtocol) error

func (*Profile) ReadField33

func (p *Profile) ReadField33(iprot thrift.TProtocol) error

func (*Profile) String

func (p *Profile) String() string

func (*Profile) Write

func (p *Profile) Write(oprot thrift.TProtocol) error

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) Read

func (p *TMessageBox) Read(iprot thrift.TProtocol) error

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

func (*TMessageBox) Write

func (p *TMessageBox) Write(oprot thrift.TProtocol) error

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) Read

func (p *TMessageBoxWrapUp) Read(iprot thrift.TProtocol) error

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

func (*TMessageBoxWrapUp) Write

func (p *TMessageBoxWrapUp) Write(oprot thrift.TProtocol) error

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 (*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

func (*TMessageBoxWrapUpResponse) Write

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) Read

func (p *TalkException) Read(iprot thrift.TProtocol) error

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

func (*TalkException) Write

func (p *TalkException) Write(oprot thrift.TProtocol) error

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 (*TalkServiceClient) FetchOperations

func (p *TalkServiceClient) FetchOperations(localRev int64, count int32) (r []*Operation, err error)

func (*TalkServiceClient) FindAndAddContactsByMid

func (p *TalkServiceClient) FindAndAddContactsByMid(reqSeq int32, mid string) (r map[string]*Contact, err error)

func (*TalkServiceClient) FindAndAddContactsByUserid

func (p *TalkServiceClient) FindAndAddContactsByUserid(reqSeq int32, userid string) (r map[string]*Contact, err error)

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 (*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 (*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

func (*UpdateContactSettingArgs) Write

type UpdateContactSettingResult

type UpdateContactSettingResult struct {
	E *TalkException `thrift:"e,1" json:"e"`
}

func NewUpdateContactSettingResult

func NewUpdateContactSettingResult() *UpdateContactSettingResult

func (*UpdateContactSettingResult) GetE

func (*UpdateContactSettingResult) IsSetE

func (p *UpdateContactSettingResult) IsSetE() bool

func (*UpdateContactSettingResult) Read

func (*UpdateContactSettingResult) ReadField1

func (p *UpdateContactSettingResult) ReadField1(iprot thrift.TProtocol) error

func (*UpdateContactSettingResult) String

func (p *UpdateContactSettingResult) String() string

func (*UpdateContactSettingResult) Write

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL