/
message.pb.go
1267 lines (1113 loc) · 48.6 KB
/
message.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: message.proto
package puppet
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type MessageType int32
const (
MessageType_MESSAGE_TYPE_UNSPECIFIED MessageType = 0
MessageType_MESSAGE_TYPE_ATTACHMENT MessageType = 1
MessageType_MESSAGE_TYPE_AUDIO MessageType = 2
MessageType_MESSAGE_TYPE_CONTACT MessageType = 3
MessageType_MESSAGE_TYPE_EMOTICON MessageType = 4
MessageType_MESSAGE_TYPE_IMAGE MessageType = 5
MessageType_MESSAGE_TYPE_TEXT MessageType = 6
MessageType_MESSAGE_TYPE_VIDEO MessageType = 7
MessageType_MESSAGE_TYPE_CHAT_HISTORY MessageType = 8
MessageType_MESSAGE_TYPE_LOCATION MessageType = 9
MessageType_MESSAGE_TYPE_MINI_PROGRAM MessageType = 10
MessageType_MESSAGE_TYPE_TRANSFER MessageType = 11
MessageType_MESSAGE_TYPE_RED_ENVELOPE MessageType = 12
MessageType_MESSAGE_TYPE_RECALLED MessageType = 13
MessageType_MESSAGE_TYPE_URL MessageType = 14
)
var MessageType_name = map[int32]string{
0: "MESSAGE_TYPE_UNSPECIFIED",
1: "MESSAGE_TYPE_ATTACHMENT",
2: "MESSAGE_TYPE_AUDIO",
3: "MESSAGE_TYPE_CONTACT",
4: "MESSAGE_TYPE_EMOTICON",
5: "MESSAGE_TYPE_IMAGE",
6: "MESSAGE_TYPE_TEXT",
7: "MESSAGE_TYPE_VIDEO",
8: "MESSAGE_TYPE_CHAT_HISTORY",
9: "MESSAGE_TYPE_LOCATION",
10: "MESSAGE_TYPE_MINI_PROGRAM",
11: "MESSAGE_TYPE_TRANSFER",
12: "MESSAGE_TYPE_RED_ENVELOPE",
13: "MESSAGE_TYPE_RECALLED",
14: "MESSAGE_TYPE_URL",
}
var MessageType_value = map[string]int32{
"MESSAGE_TYPE_UNSPECIFIED": 0,
"MESSAGE_TYPE_ATTACHMENT": 1,
"MESSAGE_TYPE_AUDIO": 2,
"MESSAGE_TYPE_CONTACT": 3,
"MESSAGE_TYPE_EMOTICON": 4,
"MESSAGE_TYPE_IMAGE": 5,
"MESSAGE_TYPE_TEXT": 6,
"MESSAGE_TYPE_VIDEO": 7,
"MESSAGE_TYPE_CHAT_HISTORY": 8,
"MESSAGE_TYPE_LOCATION": 9,
"MESSAGE_TYPE_MINI_PROGRAM": 10,
"MESSAGE_TYPE_TRANSFER": 11,
"MESSAGE_TYPE_RED_ENVELOPE": 12,
"MESSAGE_TYPE_RECALLED": 13,
"MESSAGE_TYPE_URL": 14,
}
func (x MessageType) String() string {
return proto.EnumName(MessageType_name, int32(x))
}
func (MessageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{0}
}
type ImageType int32
const (
ImageType_IMAGE_TYPE_UNSPECIFIED ImageType = 0
ImageType_IMAGE_TYPE_THUMBNAIL ImageType = 1
ImageType_IMAGE_TYPE_HD ImageType = 2
ImageType_IMAGE_TYPE_ARTWORK ImageType = 3
)
var ImageType_name = map[int32]string{
0: "IMAGE_TYPE_UNSPECIFIED",
1: "IMAGE_TYPE_THUMBNAIL",
2: "IMAGE_TYPE_HD",
3: "IMAGE_TYPE_ARTWORK",
}
var ImageType_value = map[string]int32{
"IMAGE_TYPE_UNSPECIFIED": 0,
"IMAGE_TYPE_THUMBNAIL": 1,
"IMAGE_TYPE_HD": 2,
"IMAGE_TYPE_ARTWORK": 3,
}
func (x ImageType) String() string {
return proto.EnumName(ImageType_name, int32(x))
}
func (ImageType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{1}
}
type MessagePayloadRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessagePayloadRequest) Reset() { *m = MessagePayloadRequest{} }
func (m *MessagePayloadRequest) String() string { return proto.CompactTextString(m) }
func (*MessagePayloadRequest) ProtoMessage() {}
func (*MessagePayloadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{0}
}
func (m *MessagePayloadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessagePayloadRequest.Unmarshal(m, b)
}
func (m *MessagePayloadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessagePayloadRequest.Marshal(b, m, deterministic)
}
func (m *MessagePayloadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessagePayloadRequest.Merge(m, src)
}
func (m *MessagePayloadRequest) XXX_Size() int {
return xxx_messageInfo_MessagePayloadRequest.Size(m)
}
func (m *MessagePayloadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessagePayloadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessagePayloadRequest proto.InternalMessageInfo
func (m *MessagePayloadRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessagePayloadResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"`
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Type MessageType `protobuf:"varint,5,opt,name=type,proto3,enum=wechaty.puppet.MessageType" json:"type,omitempty"`
FromId string `protobuf:"bytes,6,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"`
RoomId string `protobuf:"bytes,7,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
ToId string `protobuf:"bytes,8,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"`
MentionIds []string `protobuf:"bytes,9,rep,name=mention_ids,json=mentionIds,proto3" json:"mention_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessagePayloadResponse) Reset() { *m = MessagePayloadResponse{} }
func (m *MessagePayloadResponse) String() string { return proto.CompactTextString(m) }
func (*MessagePayloadResponse) ProtoMessage() {}
func (*MessagePayloadResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{1}
}
func (m *MessagePayloadResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessagePayloadResponse.Unmarshal(m, b)
}
func (m *MessagePayloadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessagePayloadResponse.Marshal(b, m, deterministic)
}
func (m *MessagePayloadResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessagePayloadResponse.Merge(m, src)
}
func (m *MessagePayloadResponse) XXX_Size() int {
return xxx_messageInfo_MessagePayloadResponse.Size(m)
}
func (m *MessagePayloadResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessagePayloadResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessagePayloadResponse proto.InternalMessageInfo
func (m *MessagePayloadResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *MessagePayloadResponse) GetFilename() string {
if m != nil {
return m.Filename
}
return ""
}
func (m *MessagePayloadResponse) GetText() string {
if m != nil {
return m.Text
}
return ""
}
func (m *MessagePayloadResponse) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *MessagePayloadResponse) GetType() MessageType {
if m != nil {
return m.Type
}
return MessageType_MESSAGE_TYPE_UNSPECIFIED
}
func (m *MessagePayloadResponse) GetFromId() string {
if m != nil {
return m.FromId
}
return ""
}
func (m *MessagePayloadResponse) GetRoomId() string {
if m != nil {
return m.RoomId
}
return ""
}
func (m *MessagePayloadResponse) GetToId() string {
if m != nil {
return m.ToId
}
return ""
}
func (m *MessagePayloadResponse) GetMentionIds() []string {
if m != nil {
return m.MentionIds
}
return nil
}
type MessageImageRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type ImageType `protobuf:"varint,2,opt,name=type,proto3,enum=wechaty.puppet.ImageType" json:"type,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageImageRequest) Reset() { *m = MessageImageRequest{} }
func (m *MessageImageRequest) String() string { return proto.CompactTextString(m) }
func (*MessageImageRequest) ProtoMessage() {}
func (*MessageImageRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{2}
}
func (m *MessageImageRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageImageRequest.Unmarshal(m, b)
}
func (m *MessageImageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageImageRequest.Marshal(b, m, deterministic)
}
func (m *MessageImageRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageImageRequest.Merge(m, src)
}
func (m *MessageImageRequest) XXX_Size() int {
return xxx_messageInfo_MessageImageRequest.Size(m)
}
func (m *MessageImageRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageImageRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageImageRequest proto.InternalMessageInfo
func (m *MessageImageRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *MessageImageRequest) GetType() ImageType {
if m != nil {
return m.Type
}
return ImageType_IMAGE_TYPE_UNSPECIFIED
}
type MessageImageResponse struct {
Filebox string `protobuf:"bytes,1,opt,name=filebox,proto3" json:"filebox,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageImageResponse) Reset() { *m = MessageImageResponse{} }
func (m *MessageImageResponse) String() string { return proto.CompactTextString(m) }
func (*MessageImageResponse) ProtoMessage() {}
func (*MessageImageResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{3}
}
func (m *MessageImageResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageImageResponse.Unmarshal(m, b)
}
func (m *MessageImageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageImageResponse.Marshal(b, m, deterministic)
}
func (m *MessageImageResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageImageResponse.Merge(m, src)
}
func (m *MessageImageResponse) XXX_Size() int {
return xxx_messageInfo_MessageImageResponse.Size(m)
}
func (m *MessageImageResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageImageResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageImageResponse proto.InternalMessageInfo
func (m *MessageImageResponse) GetFilebox() string {
if m != nil {
return m.Filebox
}
return ""
}
type MessageContactRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageContactRequest) Reset() { *m = MessageContactRequest{} }
func (m *MessageContactRequest) String() string { return proto.CompactTextString(m) }
func (*MessageContactRequest) ProtoMessage() {}
func (*MessageContactRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{4}
}
func (m *MessageContactRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageContactRequest.Unmarshal(m, b)
}
func (m *MessageContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageContactRequest.Marshal(b, m, deterministic)
}
func (m *MessageContactRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageContactRequest.Merge(m, src)
}
func (m *MessageContactRequest) XXX_Size() int {
return xxx_messageInfo_MessageContactRequest.Size(m)
}
func (m *MessageContactRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageContactRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageContactRequest proto.InternalMessageInfo
func (m *MessageContactRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessageContactResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageContactResponse) Reset() { *m = MessageContactResponse{} }
func (m *MessageContactResponse) String() string { return proto.CompactTextString(m) }
func (*MessageContactResponse) ProtoMessage() {}
func (*MessageContactResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{5}
}
func (m *MessageContactResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageContactResponse.Unmarshal(m, b)
}
func (m *MessageContactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageContactResponse.Marshal(b, m, deterministic)
}
func (m *MessageContactResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageContactResponse.Merge(m, src)
}
func (m *MessageContactResponse) XXX_Size() int {
return xxx_messageInfo_MessageContactResponse.Size(m)
}
func (m *MessageContactResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageContactResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageContactResponse proto.InternalMessageInfo
func (m *MessageContactResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessageFileRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageFileRequest) Reset() { *m = MessageFileRequest{} }
func (m *MessageFileRequest) String() string { return proto.CompactTextString(m) }
func (*MessageFileRequest) ProtoMessage() {}
func (*MessageFileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{6}
}
func (m *MessageFileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageFileRequest.Unmarshal(m, b)
}
func (m *MessageFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageFileRequest.Marshal(b, m, deterministic)
}
func (m *MessageFileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageFileRequest.Merge(m, src)
}
func (m *MessageFileRequest) XXX_Size() int {
return xxx_messageInfo_MessageFileRequest.Size(m)
}
func (m *MessageFileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageFileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageFileRequest proto.InternalMessageInfo
func (m *MessageFileRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessageFileResponse struct {
Filebox string `protobuf:"bytes,1,opt,name=filebox,proto3" json:"filebox,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageFileResponse) Reset() { *m = MessageFileResponse{} }
func (m *MessageFileResponse) String() string { return proto.CompactTextString(m) }
func (*MessageFileResponse) ProtoMessage() {}
func (*MessageFileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{7}
}
func (m *MessageFileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageFileResponse.Unmarshal(m, b)
}
func (m *MessageFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageFileResponse.Marshal(b, m, deterministic)
}
func (m *MessageFileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageFileResponse.Merge(m, src)
}
func (m *MessageFileResponse) XXX_Size() int {
return xxx_messageInfo_MessageFileResponse.Size(m)
}
func (m *MessageFileResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageFileResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageFileResponse proto.InternalMessageInfo
func (m *MessageFileResponse) GetFilebox() string {
if m != nil {
return m.Filebox
}
return ""
}
type MessageMiniProgramRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageMiniProgramRequest) Reset() { *m = MessageMiniProgramRequest{} }
func (m *MessageMiniProgramRequest) String() string { return proto.CompactTextString(m) }
func (*MessageMiniProgramRequest) ProtoMessage() {}
func (*MessageMiniProgramRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{8}
}
func (m *MessageMiniProgramRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageMiniProgramRequest.Unmarshal(m, b)
}
func (m *MessageMiniProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageMiniProgramRequest.Marshal(b, m, deterministic)
}
func (m *MessageMiniProgramRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageMiniProgramRequest.Merge(m, src)
}
func (m *MessageMiniProgramRequest) XXX_Size() int {
return xxx_messageInfo_MessageMiniProgramRequest.Size(m)
}
func (m *MessageMiniProgramRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageMiniProgramRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageMiniProgramRequest proto.InternalMessageInfo
func (m *MessageMiniProgramRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessageMiniProgramResponse struct {
MiniProgram string `protobuf:"bytes,1,opt,name=mini_program,json=miniProgram,proto3" json:"mini_program,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageMiniProgramResponse) Reset() { *m = MessageMiniProgramResponse{} }
func (m *MessageMiniProgramResponse) String() string { return proto.CompactTextString(m) }
func (*MessageMiniProgramResponse) ProtoMessage() {}
func (*MessageMiniProgramResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{9}
}
func (m *MessageMiniProgramResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageMiniProgramResponse.Unmarshal(m, b)
}
func (m *MessageMiniProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageMiniProgramResponse.Marshal(b, m, deterministic)
}
func (m *MessageMiniProgramResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageMiniProgramResponse.Merge(m, src)
}
func (m *MessageMiniProgramResponse) XXX_Size() int {
return xxx_messageInfo_MessageMiniProgramResponse.Size(m)
}
func (m *MessageMiniProgramResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageMiniProgramResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageMiniProgramResponse proto.InternalMessageInfo
func (m *MessageMiniProgramResponse) GetMiniProgram() string {
if m != nil {
return m.MiniProgram
}
return ""
}
type MessageUrlRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageUrlRequest) Reset() { *m = MessageUrlRequest{} }
func (m *MessageUrlRequest) String() string { return proto.CompactTextString(m) }
func (*MessageUrlRequest) ProtoMessage() {}
func (*MessageUrlRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{10}
}
func (m *MessageUrlRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageUrlRequest.Unmarshal(m, b)
}
func (m *MessageUrlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageUrlRequest.Marshal(b, m, deterministic)
}
func (m *MessageUrlRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageUrlRequest.Merge(m, src)
}
func (m *MessageUrlRequest) XXX_Size() int {
return xxx_messageInfo_MessageUrlRequest.Size(m)
}
func (m *MessageUrlRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageUrlRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageUrlRequest proto.InternalMessageInfo
func (m *MessageUrlRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type MessageUrlResponse struct {
UrlLink string `protobuf:"bytes,1,opt,name=url_link,json=urlLink,proto3" json:"url_link,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageUrlResponse) Reset() { *m = MessageUrlResponse{} }
func (m *MessageUrlResponse) String() string { return proto.CompactTextString(m) }
func (*MessageUrlResponse) ProtoMessage() {}
func (*MessageUrlResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{11}
}
func (m *MessageUrlResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageUrlResponse.Unmarshal(m, b)
}
func (m *MessageUrlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageUrlResponse.Marshal(b, m, deterministic)
}
func (m *MessageUrlResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageUrlResponse.Merge(m, src)
}
func (m *MessageUrlResponse) XXX_Size() int {
return xxx_messageInfo_MessageUrlResponse.Size(m)
}
func (m *MessageUrlResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageUrlResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageUrlResponse proto.InternalMessageInfo
func (m *MessageUrlResponse) GetUrlLink() string {
if m != nil {
return m.UrlLink
}
return ""
}
type MessageSendContactRequest struct {
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
ContactId string `protobuf:"bytes,2,opt,name=contact_id,json=contactId,proto3" json:"contact_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendContactRequest) Reset() { *m = MessageSendContactRequest{} }
func (m *MessageSendContactRequest) String() string { return proto.CompactTextString(m) }
func (*MessageSendContactRequest) ProtoMessage() {}
func (*MessageSendContactRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{12}
}
func (m *MessageSendContactRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendContactRequest.Unmarshal(m, b)
}
func (m *MessageSendContactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendContactRequest.Marshal(b, m, deterministic)
}
func (m *MessageSendContactRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendContactRequest.Merge(m, src)
}
func (m *MessageSendContactRequest) XXX_Size() int {
return xxx_messageInfo_MessageSendContactRequest.Size(m)
}
func (m *MessageSendContactRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendContactRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendContactRequest proto.InternalMessageInfo
func (m *MessageSendContactRequest) GetConversationId() string {
if m != nil {
return m.ConversationId
}
return ""
}
func (m *MessageSendContactRequest) GetContactId() string {
if m != nil {
return m.ContactId
}
return ""
}
type MessageSendContactResponse struct {
// nullable
Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendContactResponse) Reset() { *m = MessageSendContactResponse{} }
func (m *MessageSendContactResponse) String() string { return proto.CompactTextString(m) }
func (*MessageSendContactResponse) ProtoMessage() {}
func (*MessageSendContactResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{13}
}
func (m *MessageSendContactResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendContactResponse.Unmarshal(m, b)
}
func (m *MessageSendContactResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendContactResponse.Marshal(b, m, deterministic)
}
func (m *MessageSendContactResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendContactResponse.Merge(m, src)
}
func (m *MessageSendContactResponse) XXX_Size() int {
return xxx_messageInfo_MessageSendContactResponse.Size(m)
}
func (m *MessageSendContactResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendContactResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendContactResponse proto.InternalMessageInfo
func (m *MessageSendContactResponse) GetId() *wrappers.StringValue {
if m != nil {
return m.Id
}
return nil
}
type MessageSendFileRequest struct {
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
Filebox string `protobuf:"bytes,2,opt,name=filebox,proto3" json:"filebox,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendFileRequest) Reset() { *m = MessageSendFileRequest{} }
func (m *MessageSendFileRequest) String() string { return proto.CompactTextString(m) }
func (*MessageSendFileRequest) ProtoMessage() {}
func (*MessageSendFileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{14}
}
func (m *MessageSendFileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendFileRequest.Unmarshal(m, b)
}
func (m *MessageSendFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendFileRequest.Marshal(b, m, deterministic)
}
func (m *MessageSendFileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendFileRequest.Merge(m, src)
}
func (m *MessageSendFileRequest) XXX_Size() int {
return xxx_messageInfo_MessageSendFileRequest.Size(m)
}
func (m *MessageSendFileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendFileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendFileRequest proto.InternalMessageInfo
func (m *MessageSendFileRequest) GetConversationId() string {
if m != nil {
return m.ConversationId
}
return ""
}
func (m *MessageSendFileRequest) GetFilebox() string {
if m != nil {
return m.Filebox
}
return ""
}
type MessageSendFileResponse struct {
Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendFileResponse) Reset() { *m = MessageSendFileResponse{} }
func (m *MessageSendFileResponse) String() string { return proto.CompactTextString(m) }
func (*MessageSendFileResponse) ProtoMessage() {}
func (*MessageSendFileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{15}
}
func (m *MessageSendFileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendFileResponse.Unmarshal(m, b)
}
func (m *MessageSendFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendFileResponse.Marshal(b, m, deterministic)
}
func (m *MessageSendFileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendFileResponse.Merge(m, src)
}
func (m *MessageSendFileResponse) XXX_Size() int {
return xxx_messageInfo_MessageSendFileResponse.Size(m)
}
func (m *MessageSendFileResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendFileResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendFileResponse proto.InternalMessageInfo
func (m *MessageSendFileResponse) GetId() *wrappers.StringValue {
if m != nil {
return m.Id
}
return nil
}
type MessageSendTextRequest struct {
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
MentonalIds []string `protobuf:"bytes,3,rep,name=mentonal_ids,json=mentonalIds,proto3" json:"mentonal_ids,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendTextRequest) Reset() { *m = MessageSendTextRequest{} }
func (m *MessageSendTextRequest) String() string { return proto.CompactTextString(m) }
func (*MessageSendTextRequest) ProtoMessage() {}
func (*MessageSendTextRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{16}
}
func (m *MessageSendTextRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendTextRequest.Unmarshal(m, b)
}
func (m *MessageSendTextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendTextRequest.Marshal(b, m, deterministic)
}
func (m *MessageSendTextRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendTextRequest.Merge(m, src)
}
func (m *MessageSendTextRequest) XXX_Size() int {
return xxx_messageInfo_MessageSendTextRequest.Size(m)
}
func (m *MessageSendTextRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendTextRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendTextRequest proto.InternalMessageInfo
func (m *MessageSendTextRequest) GetConversationId() string {
if m != nil {
return m.ConversationId
}
return ""
}
func (m *MessageSendTextRequest) GetText() string {
if m != nil {
return m.Text
}
return ""
}
func (m *MessageSendTextRequest) GetMentonalIds() []string {
if m != nil {
return m.MentonalIds
}
return nil
}
type MessageSendTextResponse struct {
Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendTextResponse) Reset() { *m = MessageSendTextResponse{} }
func (m *MessageSendTextResponse) String() string { return proto.CompactTextString(m) }
func (*MessageSendTextResponse) ProtoMessage() {}
func (*MessageSendTextResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{17}
}
func (m *MessageSendTextResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendTextResponse.Unmarshal(m, b)
}
func (m *MessageSendTextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendTextResponse.Marshal(b, m, deterministic)
}
func (m *MessageSendTextResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendTextResponse.Merge(m, src)
}
func (m *MessageSendTextResponse) XXX_Size() int {
return xxx_messageInfo_MessageSendTextResponse.Size(m)
}
func (m *MessageSendTextResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendTextResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendTextResponse proto.InternalMessageInfo
func (m *MessageSendTextResponse) GetId() *wrappers.StringValue {
if m != nil {
return m.Id
}
return nil
}
type MessageSendMiniProgramRequest struct {
ConversationId string `protobuf:"bytes,1,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
MiniProgram string `protobuf:"bytes,2,opt,name=mini_program,json=miniProgram,proto3" json:"mini_program,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendMiniProgramRequest) Reset() { *m = MessageSendMiniProgramRequest{} }
func (m *MessageSendMiniProgramRequest) String() string { return proto.CompactTextString(m) }
func (*MessageSendMiniProgramRequest) ProtoMessage() {}
func (*MessageSendMiniProgramRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{18}
}
func (m *MessageSendMiniProgramRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendMiniProgramRequest.Unmarshal(m, b)
}
func (m *MessageSendMiniProgramRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendMiniProgramRequest.Marshal(b, m, deterministic)
}
func (m *MessageSendMiniProgramRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendMiniProgramRequest.Merge(m, src)
}
func (m *MessageSendMiniProgramRequest) XXX_Size() int {
return xxx_messageInfo_MessageSendMiniProgramRequest.Size(m)
}
func (m *MessageSendMiniProgramRequest) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendMiniProgramRequest.DiscardUnknown(m)
}
var xxx_messageInfo_MessageSendMiniProgramRequest proto.InternalMessageInfo
func (m *MessageSendMiniProgramRequest) GetConversationId() string {
if m != nil {
return m.ConversationId
}
return ""
}
func (m *MessageSendMiniProgramRequest) GetMiniProgram() string {
if m != nil {
return m.MiniProgram
}
return ""
}
type MessageSendMiniProgramResponse struct {
Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MessageSendMiniProgramResponse) Reset() { *m = MessageSendMiniProgramResponse{} }
func (m *MessageSendMiniProgramResponse) String() string { return proto.CompactTextString(m) }
func (*MessageSendMiniProgramResponse) ProtoMessage() {}
func (*MessageSendMiniProgramResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_33c57e4bae7b9afd, []int{19}
}
func (m *MessageSendMiniProgramResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MessageSendMiniProgramResponse.Unmarshal(m, b)
}
func (m *MessageSendMiniProgramResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MessageSendMiniProgramResponse.Marshal(b, m, deterministic)
}
func (m *MessageSendMiniProgramResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MessageSendMiniProgramResponse.Merge(m, src)
}
func (m *MessageSendMiniProgramResponse) XXX_Size() int {
return xxx_messageInfo_MessageSendMiniProgramResponse.Size(m)
}
func (m *MessageSendMiniProgramResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MessageSendMiniProgramResponse.DiscardUnknown(m)