@wppconnect/wa-proto 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -584,6 +584,1141 @@ export namespace waproto {
584
584
  public static getTypeUrl(typeUrlPrefix?: string): string;
585
585
  }
586
586
 
587
+ /** Properties of a AIRichResponseMessage. */
588
+ interface IAIRichResponseMessage {
589
+
590
+ /** AIRichResponseMessage messageType */
591
+ messageType?: (waproto.AIRichResponseMessage.AIRichResponseMessageType|null);
592
+
593
+ /** AIRichResponseMessage submessages */
594
+ submessages?: (waproto.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
595
+ }
596
+
597
+ /** Represents a AIRichResponseMessage. */
598
+ class AIRichResponseMessage implements IAIRichResponseMessage {
599
+
600
+ /**
601
+ * Constructs a new AIRichResponseMessage.
602
+ * @param [properties] Properties to set
603
+ */
604
+ constructor(properties?: waproto.IAIRichResponseMessage);
605
+
606
+ /** AIRichResponseMessage messageType. */
607
+ public messageType?: (waproto.AIRichResponseMessage.AIRichResponseMessageType|null);
608
+
609
+ /** AIRichResponseMessage submessages. */
610
+ public submessages: waproto.AIRichResponseMessage.IAIRichResponseSubMessage[];
611
+
612
+ /**
613
+ * Creates a new AIRichResponseMessage instance using the specified properties.
614
+ * @param [properties] Properties to set
615
+ * @returns AIRichResponseMessage instance
616
+ */
617
+ public static create(properties?: waproto.IAIRichResponseMessage): waproto.AIRichResponseMessage;
618
+
619
+ /**
620
+ * Encodes the specified AIRichResponseMessage message. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages.
621
+ * @param message AIRichResponseMessage message or plain object to encode
622
+ * @param [writer] Writer to encode to
623
+ * @returns Writer
624
+ */
625
+ public static encode(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
626
+
627
+ /**
628
+ * Encodes the specified AIRichResponseMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages.
629
+ * @param message AIRichResponseMessage message or plain object to encode
630
+ * @param [writer] Writer to encode to
631
+ * @returns Writer
632
+ */
633
+ public static encodeDelimited(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
634
+
635
+ /**
636
+ * Decodes a AIRichResponseMessage message from the specified reader or buffer.
637
+ * @param reader Reader or buffer to decode from
638
+ * @param [length] Message length if known beforehand
639
+ * @returns AIRichResponseMessage
640
+ * @throws {Error} If the payload is not a reader or valid buffer
641
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
642
+ */
643
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage;
644
+
645
+ /**
646
+ * Decodes a AIRichResponseMessage message from the specified reader or buffer, length delimited.
647
+ * @param reader Reader or buffer to decode from
648
+ * @returns AIRichResponseMessage
649
+ * @throws {Error} If the payload is not a reader or valid buffer
650
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
651
+ */
652
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage;
653
+
654
+ /**
655
+ * Verifies a AIRichResponseMessage message.
656
+ * @param message Plain object to verify
657
+ * @returns `null` if valid, otherwise the reason why it is not
658
+ */
659
+ public static verify(message: { [k: string]: any }): (string|null);
660
+
661
+ /**
662
+ * Creates a AIRichResponseMessage message from a plain object. Also converts values to their respective internal types.
663
+ * @param object Plain object
664
+ * @returns AIRichResponseMessage
665
+ */
666
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage;
667
+
668
+ /**
669
+ * Creates a plain object from a AIRichResponseMessage message. Also converts values to other types if specified.
670
+ * @param message AIRichResponseMessage
671
+ * @param [options] Conversion options
672
+ * @returns Plain object
673
+ */
674
+ public static toObject(message: waproto.AIRichResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
675
+
676
+ /**
677
+ * Converts this AIRichResponseMessage to JSON.
678
+ * @returns JSON object
679
+ */
680
+ public toJSON(): { [k: string]: any };
681
+
682
+ /**
683
+ * Gets the default type url for AIRichResponseMessage
684
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
685
+ * @returns The default type url
686
+ */
687
+ public static getTypeUrl(typeUrlPrefix?: string): string;
688
+ }
689
+
690
+ namespace AIRichResponseMessage {
691
+
692
+ /** Properties of a AIRichResponseCodeMetadata. */
693
+ interface IAIRichResponseCodeMetadata {
694
+
695
+ /** AIRichResponseCodeMetadata codeLanguage */
696
+ codeLanguage?: (string|null);
697
+
698
+ /** AIRichResponseCodeMetadata codeBlocks */
699
+ codeBlocks?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null);
700
+ }
701
+
702
+ /** Represents a AIRichResponseCodeMetadata. */
703
+ class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
704
+
705
+ /**
706
+ * Constructs a new AIRichResponseCodeMetadata.
707
+ * @param [properties] Properties to set
708
+ */
709
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata);
710
+
711
+ /** AIRichResponseCodeMetadata codeLanguage. */
712
+ public codeLanguage?: (string|null);
713
+
714
+ /** AIRichResponseCodeMetadata codeBlocks. */
715
+ public codeBlocks: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
716
+
717
+ /**
718
+ * Creates a new AIRichResponseCodeMetadata instance using the specified properties.
719
+ * @param [properties] Properties to set
720
+ * @returns AIRichResponseCodeMetadata instance
721
+ */
722
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
723
+
724
+ /**
725
+ * Encodes the specified AIRichResponseCodeMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
726
+ * @param message AIRichResponseCodeMetadata message or plain object to encode
727
+ * @param [writer] Writer to encode to
728
+ * @returns Writer
729
+ */
730
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
731
+
732
+ /**
733
+ * Encodes the specified AIRichResponseCodeMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
734
+ * @param message AIRichResponseCodeMetadata message or plain object to encode
735
+ * @param [writer] Writer to encode to
736
+ * @returns Writer
737
+ */
738
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
739
+
740
+ /**
741
+ * Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer.
742
+ * @param reader Reader or buffer to decode from
743
+ * @param [length] Message length if known beforehand
744
+ * @returns AIRichResponseCodeMetadata
745
+ * @throws {Error} If the payload is not a reader or valid buffer
746
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
747
+ */
748
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
749
+
750
+ /**
751
+ * Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer, length delimited.
752
+ * @param reader Reader or buffer to decode from
753
+ * @returns AIRichResponseCodeMetadata
754
+ * @throws {Error} If the payload is not a reader or valid buffer
755
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
756
+ */
757
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
758
+
759
+ /**
760
+ * Verifies a AIRichResponseCodeMetadata message.
761
+ * @param message Plain object to verify
762
+ * @returns `null` if valid, otherwise the reason why it is not
763
+ */
764
+ public static verify(message: { [k: string]: any }): (string|null);
765
+
766
+ /**
767
+ * Creates a AIRichResponseCodeMetadata message from a plain object. Also converts values to their respective internal types.
768
+ * @param object Plain object
769
+ * @returns AIRichResponseCodeMetadata
770
+ */
771
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
772
+
773
+ /**
774
+ * Creates a plain object from a AIRichResponseCodeMetadata message. Also converts values to other types if specified.
775
+ * @param message AIRichResponseCodeMetadata
776
+ * @param [options] Conversion options
777
+ * @returns Plain object
778
+ */
779
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
780
+
781
+ /**
782
+ * Converts this AIRichResponseCodeMetadata to JSON.
783
+ * @returns JSON object
784
+ */
785
+ public toJSON(): { [k: string]: any };
786
+
787
+ /**
788
+ * Gets the default type url for AIRichResponseCodeMetadata
789
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
790
+ * @returns The default type url
791
+ */
792
+ public static getTypeUrl(typeUrlPrefix?: string): string;
793
+ }
794
+
795
+ namespace AIRichResponseCodeMetadata {
796
+
797
+ /** Properties of a AIRichResponseCodeBlock. */
798
+ interface IAIRichResponseCodeBlock {
799
+
800
+ /** AIRichResponseCodeBlock highlightType */
801
+ highlightType?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
802
+
803
+ /** AIRichResponseCodeBlock codeContent */
804
+ codeContent?: (string|null);
805
+ }
806
+
807
+ /** Represents a AIRichResponseCodeBlock. */
808
+ class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
809
+
810
+ /**
811
+ * Constructs a new AIRichResponseCodeBlock.
812
+ * @param [properties] Properties to set
813
+ */
814
+ constructor(properties?: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock);
815
+
816
+ /** AIRichResponseCodeBlock highlightType. */
817
+ public highlightType?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
818
+
819
+ /** AIRichResponseCodeBlock codeContent. */
820
+ public codeContent?: (string|null);
821
+
822
+ /**
823
+ * Creates a new AIRichResponseCodeBlock instance using the specified properties.
824
+ * @param [properties] Properties to set
825
+ * @returns AIRichResponseCodeBlock instance
826
+ */
827
+ public static create(properties?: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
828
+
829
+ /**
830
+ * Encodes the specified AIRichResponseCodeBlock message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
831
+ * @param message AIRichResponseCodeBlock message or plain object to encode
832
+ * @param [writer] Writer to encode to
833
+ * @returns Writer
834
+ */
835
+ public static encode(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
836
+
837
+ /**
838
+ * Encodes the specified AIRichResponseCodeBlock message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
839
+ * @param message AIRichResponseCodeBlock message or plain object to encode
840
+ * @param [writer] Writer to encode to
841
+ * @returns Writer
842
+ */
843
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
844
+
845
+ /**
846
+ * Decodes a AIRichResponseCodeBlock message from the specified reader or buffer.
847
+ * @param reader Reader or buffer to decode from
848
+ * @param [length] Message length if known beforehand
849
+ * @returns AIRichResponseCodeBlock
850
+ * @throws {Error} If the payload is not a reader or valid buffer
851
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
852
+ */
853
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
854
+
855
+ /**
856
+ * Decodes a AIRichResponseCodeBlock message from the specified reader or buffer, length delimited.
857
+ * @param reader Reader or buffer to decode from
858
+ * @returns AIRichResponseCodeBlock
859
+ * @throws {Error} If the payload is not a reader or valid buffer
860
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
861
+ */
862
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
863
+
864
+ /**
865
+ * Verifies a AIRichResponseCodeBlock message.
866
+ * @param message Plain object to verify
867
+ * @returns `null` if valid, otherwise the reason why it is not
868
+ */
869
+ public static verify(message: { [k: string]: any }): (string|null);
870
+
871
+ /**
872
+ * Creates a AIRichResponseCodeBlock message from a plain object. Also converts values to their respective internal types.
873
+ * @param object Plain object
874
+ * @returns AIRichResponseCodeBlock
875
+ */
876
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
877
+
878
+ /**
879
+ * Creates a plain object from a AIRichResponseCodeBlock message. Also converts values to other types if specified.
880
+ * @param message AIRichResponseCodeBlock
881
+ * @param [options] Conversion options
882
+ * @returns Plain object
883
+ */
884
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
885
+
886
+ /**
887
+ * Converts this AIRichResponseCodeBlock to JSON.
888
+ * @returns JSON object
889
+ */
890
+ public toJSON(): { [k: string]: any };
891
+
892
+ /**
893
+ * Gets the default type url for AIRichResponseCodeBlock
894
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
895
+ * @returns The default type url
896
+ */
897
+ public static getTypeUrl(typeUrlPrefix?: string): string;
898
+ }
899
+
900
+ /** AIRichResponseCodeHighlightType enum. */
901
+ enum AIRichResponseCodeHighlightType {
902
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0,
903
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1,
904
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2,
905
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3,
906
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4,
907
+ AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5
908
+ }
909
+ }
910
+
911
+ /** Properties of a AIRichResponseDynamicMetadata. */
912
+ interface IAIRichResponseDynamicMetadata {
913
+
914
+ /** AIRichResponseDynamicMetadata type */
915
+ type?: (waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
916
+
917
+ /** AIRichResponseDynamicMetadata version */
918
+ version?: (number|Long|null);
919
+
920
+ /** AIRichResponseDynamicMetadata url */
921
+ url?: (string|null);
922
+
923
+ /** AIRichResponseDynamicMetadata loopCount */
924
+ loopCount?: (number|null);
925
+ }
926
+
927
+ /** Represents a AIRichResponseDynamicMetadata. */
928
+ class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
929
+
930
+ /**
931
+ * Constructs a new AIRichResponseDynamicMetadata.
932
+ * @param [properties] Properties to set
933
+ */
934
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata);
935
+
936
+ /** AIRichResponseDynamicMetadata type. */
937
+ public type?: (waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
938
+
939
+ /** AIRichResponseDynamicMetadata version. */
940
+ public version?: (number|Long|null);
941
+
942
+ /** AIRichResponseDynamicMetadata url. */
943
+ public url?: (string|null);
944
+
945
+ /** AIRichResponseDynamicMetadata loopCount. */
946
+ public loopCount?: (number|null);
947
+
948
+ /**
949
+ * Creates a new AIRichResponseDynamicMetadata instance using the specified properties.
950
+ * @param [properties] Properties to set
951
+ * @returns AIRichResponseDynamicMetadata instance
952
+ */
953
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
954
+
955
+ /**
956
+ * Encodes the specified AIRichResponseDynamicMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
957
+ * @param message AIRichResponseDynamicMetadata message or plain object to encode
958
+ * @param [writer] Writer to encode to
959
+ * @returns Writer
960
+ */
961
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
962
+
963
+ /**
964
+ * Encodes the specified AIRichResponseDynamicMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
965
+ * @param message AIRichResponseDynamicMetadata message or plain object to encode
966
+ * @param [writer] Writer to encode to
967
+ * @returns Writer
968
+ */
969
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
970
+
971
+ /**
972
+ * Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer.
973
+ * @param reader Reader or buffer to decode from
974
+ * @param [length] Message length if known beforehand
975
+ * @returns AIRichResponseDynamicMetadata
976
+ * @throws {Error} If the payload is not a reader or valid buffer
977
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
978
+ */
979
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
980
+
981
+ /**
982
+ * Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer, length delimited.
983
+ * @param reader Reader or buffer to decode from
984
+ * @returns AIRichResponseDynamicMetadata
985
+ * @throws {Error} If the payload is not a reader or valid buffer
986
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
987
+ */
988
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
989
+
990
+ /**
991
+ * Verifies a AIRichResponseDynamicMetadata message.
992
+ * @param message Plain object to verify
993
+ * @returns `null` if valid, otherwise the reason why it is not
994
+ */
995
+ public static verify(message: { [k: string]: any }): (string|null);
996
+
997
+ /**
998
+ * Creates a AIRichResponseDynamicMetadata message from a plain object. Also converts values to their respective internal types.
999
+ * @param object Plain object
1000
+ * @returns AIRichResponseDynamicMetadata
1001
+ */
1002
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
1003
+
1004
+ /**
1005
+ * Creates a plain object from a AIRichResponseDynamicMetadata message. Also converts values to other types if specified.
1006
+ * @param message AIRichResponseDynamicMetadata
1007
+ * @param [options] Conversion options
1008
+ * @returns Plain object
1009
+ */
1010
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
1011
+
1012
+ /**
1013
+ * Converts this AIRichResponseDynamicMetadata to JSON.
1014
+ * @returns JSON object
1015
+ */
1016
+ public toJSON(): { [k: string]: any };
1017
+
1018
+ /**
1019
+ * Gets the default type url for AIRichResponseDynamicMetadata
1020
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1021
+ * @returns The default type url
1022
+ */
1023
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1024
+ }
1025
+
1026
+ namespace AIRichResponseDynamicMetadata {
1027
+
1028
+ /** AIRichResponseDynamicMetadataType enum. */
1029
+ enum AIRichResponseDynamicMetadataType {
1030
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0,
1031
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1,
1032
+ AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2
1033
+ }
1034
+ }
1035
+
1036
+ /** Properties of a AIRichResponseGridImageMetadata. */
1037
+ interface IAIRichResponseGridImageMetadata {
1038
+
1039
+ /** AIRichResponseGridImageMetadata gridImageUrl */
1040
+ gridImageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
1041
+
1042
+ /** AIRichResponseGridImageMetadata imageUrls */
1043
+ imageUrls?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL[]|null);
1044
+ }
1045
+
1046
+ /** Represents a AIRichResponseGridImageMetadata. */
1047
+ class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
1048
+
1049
+ /**
1050
+ * Constructs a new AIRichResponseGridImageMetadata.
1051
+ * @param [properties] Properties to set
1052
+ */
1053
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata);
1054
+
1055
+ /** AIRichResponseGridImageMetadata gridImageUrl. */
1056
+ public gridImageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
1057
+
1058
+ /** AIRichResponseGridImageMetadata imageUrls. */
1059
+ public imageUrls: waproto.AIRichResponseMessage.IAIRichResponseImageURL[];
1060
+
1061
+ /**
1062
+ * Creates a new AIRichResponseGridImageMetadata instance using the specified properties.
1063
+ * @param [properties] Properties to set
1064
+ * @returns AIRichResponseGridImageMetadata instance
1065
+ */
1066
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
1067
+
1068
+ /**
1069
+ * Encodes the specified AIRichResponseGridImageMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
1070
+ * @param message AIRichResponseGridImageMetadata message or plain object to encode
1071
+ * @param [writer] Writer to encode to
1072
+ * @returns Writer
1073
+ */
1074
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1075
+
1076
+ /**
1077
+ * Encodes the specified AIRichResponseGridImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
1078
+ * @param message AIRichResponseGridImageMetadata message or plain object to encode
1079
+ * @param [writer] Writer to encode to
1080
+ * @returns Writer
1081
+ */
1082
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1083
+
1084
+ /**
1085
+ * Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer.
1086
+ * @param reader Reader or buffer to decode from
1087
+ * @param [length] Message length if known beforehand
1088
+ * @returns AIRichResponseGridImageMetadata
1089
+ * @throws {Error} If the payload is not a reader or valid buffer
1090
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1091
+ */
1092
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
1093
+
1094
+ /**
1095
+ * Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer, length delimited.
1096
+ * @param reader Reader or buffer to decode from
1097
+ * @returns AIRichResponseGridImageMetadata
1098
+ * @throws {Error} If the payload is not a reader or valid buffer
1099
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1100
+ */
1101
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
1102
+
1103
+ /**
1104
+ * Verifies a AIRichResponseGridImageMetadata message.
1105
+ * @param message Plain object to verify
1106
+ * @returns `null` if valid, otherwise the reason why it is not
1107
+ */
1108
+ public static verify(message: { [k: string]: any }): (string|null);
1109
+
1110
+ /**
1111
+ * Creates a AIRichResponseGridImageMetadata message from a plain object. Also converts values to their respective internal types.
1112
+ * @param object Plain object
1113
+ * @returns AIRichResponseGridImageMetadata
1114
+ */
1115
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
1116
+
1117
+ /**
1118
+ * Creates a plain object from a AIRichResponseGridImageMetadata message. Also converts values to other types if specified.
1119
+ * @param message AIRichResponseGridImageMetadata
1120
+ * @param [options] Conversion options
1121
+ * @returns Plain object
1122
+ */
1123
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
1124
+
1125
+ /**
1126
+ * Converts this AIRichResponseGridImageMetadata to JSON.
1127
+ * @returns JSON object
1128
+ */
1129
+ public toJSON(): { [k: string]: any };
1130
+
1131
+ /**
1132
+ * Gets the default type url for AIRichResponseGridImageMetadata
1133
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1134
+ * @returns The default type url
1135
+ */
1136
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1137
+ }
1138
+
1139
+ /** Properties of a AIRichResponseImageURL. */
1140
+ interface IAIRichResponseImageURL {
1141
+
1142
+ /** AIRichResponseImageURL imagePreviewUrl */
1143
+ imagePreviewUrl?: (string|null);
1144
+
1145
+ /** AIRichResponseImageURL imageHighResUrl */
1146
+ imageHighResUrl?: (string|null);
1147
+ }
1148
+
1149
+ /** Represents a AIRichResponseImageURL. */
1150
+ class AIRichResponseImageURL implements IAIRichResponseImageURL {
1151
+
1152
+ /**
1153
+ * Constructs a new AIRichResponseImageURL.
1154
+ * @param [properties] Properties to set
1155
+ */
1156
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseImageURL);
1157
+
1158
+ /** AIRichResponseImageURL imagePreviewUrl. */
1159
+ public imagePreviewUrl?: (string|null);
1160
+
1161
+ /** AIRichResponseImageURL imageHighResUrl. */
1162
+ public imageHighResUrl?: (string|null);
1163
+
1164
+ /**
1165
+ * Creates a new AIRichResponseImageURL instance using the specified properties.
1166
+ * @param [properties] Properties to set
1167
+ * @returns AIRichResponseImageURL instance
1168
+ */
1169
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseImageURL): waproto.AIRichResponseMessage.AIRichResponseImageURL;
1170
+
1171
+ /**
1172
+ * Encodes the specified AIRichResponseImageURL message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
1173
+ * @param message AIRichResponseImageURL message or plain object to encode
1174
+ * @param [writer] Writer to encode to
1175
+ * @returns Writer
1176
+ */
1177
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
1178
+
1179
+ /**
1180
+ * Encodes the specified AIRichResponseImageURL message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
1181
+ * @param message AIRichResponseImageURL message or plain object to encode
1182
+ * @param [writer] Writer to encode to
1183
+ * @returns Writer
1184
+ */
1185
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
1186
+
1187
+ /**
1188
+ * Decodes a AIRichResponseImageURL message from the specified reader or buffer.
1189
+ * @param reader Reader or buffer to decode from
1190
+ * @param [length] Message length if known beforehand
1191
+ * @returns AIRichResponseImageURL
1192
+ * @throws {Error} If the payload is not a reader or valid buffer
1193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1194
+ */
1195
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseImageURL;
1196
+
1197
+ /**
1198
+ * Decodes a AIRichResponseImageURL message from the specified reader or buffer, length delimited.
1199
+ * @param reader Reader or buffer to decode from
1200
+ * @returns AIRichResponseImageURL
1201
+ * @throws {Error} If the payload is not a reader or valid buffer
1202
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1203
+ */
1204
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseImageURL;
1205
+
1206
+ /**
1207
+ * Verifies a AIRichResponseImageURL message.
1208
+ * @param message Plain object to verify
1209
+ * @returns `null` if valid, otherwise the reason why it is not
1210
+ */
1211
+ public static verify(message: { [k: string]: any }): (string|null);
1212
+
1213
+ /**
1214
+ * Creates a AIRichResponseImageURL message from a plain object. Also converts values to their respective internal types.
1215
+ * @param object Plain object
1216
+ * @returns AIRichResponseImageURL
1217
+ */
1218
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseImageURL;
1219
+
1220
+ /**
1221
+ * Creates a plain object from a AIRichResponseImageURL message. Also converts values to other types if specified.
1222
+ * @param message AIRichResponseImageURL
1223
+ * @param [options] Conversion options
1224
+ * @returns Plain object
1225
+ */
1226
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseImageURL, options?: $protobuf.IConversionOptions): { [k: string]: any };
1227
+
1228
+ /**
1229
+ * Converts this AIRichResponseImageURL to JSON.
1230
+ * @returns JSON object
1231
+ */
1232
+ public toJSON(): { [k: string]: any };
1233
+
1234
+ /**
1235
+ * Gets the default type url for AIRichResponseImageURL
1236
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1237
+ * @returns The default type url
1238
+ */
1239
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1240
+ }
1241
+
1242
+ /** Properties of a AIRichResponseInlineImageMetadata. */
1243
+ interface IAIRichResponseInlineImageMetadata {
1244
+
1245
+ /** AIRichResponseInlineImageMetadata imageUrl */
1246
+ imageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
1247
+
1248
+ /** AIRichResponseInlineImageMetadata imageText */
1249
+ imageText?: (string|null);
1250
+
1251
+ /** AIRichResponseInlineImageMetadata alignment */
1252
+ alignment?: (waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
1253
+
1254
+ /** AIRichResponseInlineImageMetadata tapLinkUrl */
1255
+ tapLinkUrl?: (string|null);
1256
+ }
1257
+
1258
+ /** Represents a AIRichResponseInlineImageMetadata. */
1259
+ class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
1260
+
1261
+ /**
1262
+ * Constructs a new AIRichResponseInlineImageMetadata.
1263
+ * @param [properties] Properties to set
1264
+ */
1265
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata);
1266
+
1267
+ /** AIRichResponseInlineImageMetadata imageUrl. */
1268
+ public imageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
1269
+
1270
+ /** AIRichResponseInlineImageMetadata imageText. */
1271
+ public imageText?: (string|null);
1272
+
1273
+ /** AIRichResponseInlineImageMetadata alignment. */
1274
+ public alignment?: (waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
1275
+
1276
+ /** AIRichResponseInlineImageMetadata tapLinkUrl. */
1277
+ public tapLinkUrl?: (string|null);
1278
+
1279
+ /**
1280
+ * Creates a new AIRichResponseInlineImageMetadata instance using the specified properties.
1281
+ * @param [properties] Properties to set
1282
+ * @returns AIRichResponseInlineImageMetadata instance
1283
+ */
1284
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
1285
+
1286
+ /**
1287
+ * Encodes the specified AIRichResponseInlineImageMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
1288
+ * @param message AIRichResponseInlineImageMetadata message or plain object to encode
1289
+ * @param [writer] Writer to encode to
1290
+ * @returns Writer
1291
+ */
1292
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1293
+
1294
+ /**
1295
+ * Encodes the specified AIRichResponseInlineImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
1296
+ * @param message AIRichResponseInlineImageMetadata message or plain object to encode
1297
+ * @param [writer] Writer to encode to
1298
+ * @returns Writer
1299
+ */
1300
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1301
+
1302
+ /**
1303
+ * Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer.
1304
+ * @param reader Reader or buffer to decode from
1305
+ * @param [length] Message length if known beforehand
1306
+ * @returns AIRichResponseInlineImageMetadata
1307
+ * @throws {Error} If the payload is not a reader or valid buffer
1308
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1309
+ */
1310
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
1311
+
1312
+ /**
1313
+ * Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer, length delimited.
1314
+ * @param reader Reader or buffer to decode from
1315
+ * @returns AIRichResponseInlineImageMetadata
1316
+ * @throws {Error} If the payload is not a reader or valid buffer
1317
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1318
+ */
1319
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
1320
+
1321
+ /**
1322
+ * Verifies a AIRichResponseInlineImageMetadata message.
1323
+ * @param message Plain object to verify
1324
+ * @returns `null` if valid, otherwise the reason why it is not
1325
+ */
1326
+ public static verify(message: { [k: string]: any }): (string|null);
1327
+
1328
+ /**
1329
+ * Creates a AIRichResponseInlineImageMetadata message from a plain object. Also converts values to their respective internal types.
1330
+ * @param object Plain object
1331
+ * @returns AIRichResponseInlineImageMetadata
1332
+ */
1333
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
1334
+
1335
+ /**
1336
+ * Creates a plain object from a AIRichResponseInlineImageMetadata message. Also converts values to other types if specified.
1337
+ * @param message AIRichResponseInlineImageMetadata
1338
+ * @param [options] Conversion options
1339
+ * @returns Plain object
1340
+ */
1341
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
1342
+
1343
+ /**
1344
+ * Converts this AIRichResponseInlineImageMetadata to JSON.
1345
+ * @returns JSON object
1346
+ */
1347
+ public toJSON(): { [k: string]: any };
1348
+
1349
+ /**
1350
+ * Gets the default type url for AIRichResponseInlineImageMetadata
1351
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1352
+ * @returns The default type url
1353
+ */
1354
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1355
+ }
1356
+
1357
+ namespace AIRichResponseInlineImageMetadata {
1358
+
1359
+ /** AIRichResponseImageAlignment enum. */
1360
+ enum AIRichResponseImageAlignment {
1361
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0,
1362
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1,
1363
+ AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2
1364
+ }
1365
+ }
1366
+
1367
+ /** AIRichResponseMessageType enum. */
1368
+ enum AIRichResponseMessageType {
1369
+ AI_RICH_RESPONSE_TYPE_UNKNOWN = 0,
1370
+ AI_RICH_RESPONSE_TYPE_STANDARD = 1,
1371
+ AI_RICH_RESPONSE_TYPE_ARTIFACTS = 2
1372
+ }
1373
+
1374
+ /** Properties of a AIRichResponseSubMessage. */
1375
+ interface IAIRichResponseSubMessage {
1376
+
1377
+ /** AIRichResponseSubMessage messageType */
1378
+ messageType?: (waproto.AIRichResponseMessage.AIRichResponseSubMessageType|null);
1379
+
1380
+ /** AIRichResponseSubMessage gridImageMetadata */
1381
+ gridImageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
1382
+
1383
+ /** AIRichResponseSubMessage messageText */
1384
+ messageText?: (string|null);
1385
+
1386
+ /** AIRichResponseSubMessage imageMetadata */
1387
+ imageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
1388
+
1389
+ /** AIRichResponseSubMessage codeMetadata */
1390
+ codeMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
1391
+
1392
+ /** AIRichResponseSubMessage tableMetadata */
1393
+ tableMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
1394
+
1395
+ /** AIRichResponseSubMessage dynamicMetadata */
1396
+ dynamicMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
1397
+ }
1398
+
1399
+ /** Represents a AIRichResponseSubMessage. */
1400
+ class AIRichResponseSubMessage implements IAIRichResponseSubMessage {
1401
+
1402
+ /**
1403
+ * Constructs a new AIRichResponseSubMessage.
1404
+ * @param [properties] Properties to set
1405
+ */
1406
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseSubMessage);
1407
+
1408
+ /** AIRichResponseSubMessage messageType. */
1409
+ public messageType?: (waproto.AIRichResponseMessage.AIRichResponseSubMessageType|null);
1410
+
1411
+ /** AIRichResponseSubMessage gridImageMetadata. */
1412
+ public gridImageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
1413
+
1414
+ /** AIRichResponseSubMessage messageText. */
1415
+ public messageText?: (string|null);
1416
+
1417
+ /** AIRichResponseSubMessage imageMetadata. */
1418
+ public imageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
1419
+
1420
+ /** AIRichResponseSubMessage codeMetadata. */
1421
+ public codeMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
1422
+
1423
+ /** AIRichResponseSubMessage tableMetadata. */
1424
+ public tableMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
1425
+
1426
+ /** AIRichResponseSubMessage dynamicMetadata. */
1427
+ public dynamicMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
1428
+
1429
+ /**
1430
+ * Creates a new AIRichResponseSubMessage instance using the specified properties.
1431
+ * @param [properties] Properties to set
1432
+ * @returns AIRichResponseSubMessage instance
1433
+ */
1434
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseSubMessage): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
1435
+
1436
+ /**
1437
+ * Encodes the specified AIRichResponseSubMessage message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
1438
+ * @param message AIRichResponseSubMessage message or plain object to encode
1439
+ * @param [writer] Writer to encode to
1440
+ * @returns Writer
1441
+ */
1442
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1443
+
1444
+ /**
1445
+ * Encodes the specified AIRichResponseSubMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
1446
+ * @param message AIRichResponseSubMessage message or plain object to encode
1447
+ * @param [writer] Writer to encode to
1448
+ * @returns Writer
1449
+ */
1450
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1451
+
1452
+ /**
1453
+ * Decodes a AIRichResponseSubMessage message from the specified reader or buffer.
1454
+ * @param reader Reader or buffer to decode from
1455
+ * @param [length] Message length if known beforehand
1456
+ * @returns AIRichResponseSubMessage
1457
+ * @throws {Error} If the payload is not a reader or valid buffer
1458
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1459
+ */
1460
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
1461
+
1462
+ /**
1463
+ * Decodes a AIRichResponseSubMessage message from the specified reader or buffer, length delimited.
1464
+ * @param reader Reader or buffer to decode from
1465
+ * @returns AIRichResponseSubMessage
1466
+ * @throws {Error} If the payload is not a reader or valid buffer
1467
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1468
+ */
1469
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
1470
+
1471
+ /**
1472
+ * Verifies a AIRichResponseSubMessage message.
1473
+ * @param message Plain object to verify
1474
+ * @returns `null` if valid, otherwise the reason why it is not
1475
+ */
1476
+ public static verify(message: { [k: string]: any }): (string|null);
1477
+
1478
+ /**
1479
+ * Creates a AIRichResponseSubMessage message from a plain object. Also converts values to their respective internal types.
1480
+ * @param object Plain object
1481
+ * @returns AIRichResponseSubMessage
1482
+ */
1483
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
1484
+
1485
+ /**
1486
+ * Creates a plain object from a AIRichResponseSubMessage message. Also converts values to other types if specified.
1487
+ * @param message AIRichResponseSubMessage
1488
+ * @param [options] Conversion options
1489
+ * @returns Plain object
1490
+ */
1491
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseSubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
1492
+
1493
+ /**
1494
+ * Converts this AIRichResponseSubMessage to JSON.
1495
+ * @returns JSON object
1496
+ */
1497
+ public toJSON(): { [k: string]: any };
1498
+
1499
+ /**
1500
+ * Gets the default type url for AIRichResponseSubMessage
1501
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1502
+ * @returns The default type url
1503
+ */
1504
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1505
+ }
1506
+
1507
+ /** AIRichResponseSubMessageType enum. */
1508
+ enum AIRichResponseSubMessageType {
1509
+ AI_RICH_RESPONSE_UNKNOWN = 0,
1510
+ AI_RICH_RESPONSE_GRID_IMAGE = 1,
1511
+ AI_RICH_RESPONSE_TEXT = 2,
1512
+ AI_RICH_RESPONSE_INLINE_IMAGE = 3,
1513
+ AI_RICH_RESPONSE_TABLE = 4,
1514
+ AI_RICH_RESPONSE_CODE = 5,
1515
+ AI_RICH_RESPONSE_DYNAMIC = 6
1516
+ }
1517
+
1518
+ /** Properties of a AIRichResponseTableMetadata. */
1519
+ interface IAIRichResponseTableMetadata {
1520
+
1521
+ /** AIRichResponseTableMetadata rows */
1522
+ rows?: (waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
1523
+ }
1524
+
1525
+ /** Represents a AIRichResponseTableMetadata. */
1526
+ class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
1527
+
1528
+ /**
1529
+ * Constructs a new AIRichResponseTableMetadata.
1530
+ * @param [properties] Properties to set
1531
+ */
1532
+ constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata);
1533
+
1534
+ /** AIRichResponseTableMetadata rows. */
1535
+ public rows: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
1536
+
1537
+ /**
1538
+ * Creates a new AIRichResponseTableMetadata instance using the specified properties.
1539
+ * @param [properties] Properties to set
1540
+ * @returns AIRichResponseTableMetadata instance
1541
+ */
1542
+ public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
1543
+
1544
+ /**
1545
+ * Encodes the specified AIRichResponseTableMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
1546
+ * @param message AIRichResponseTableMetadata message or plain object to encode
1547
+ * @param [writer] Writer to encode to
1548
+ * @returns Writer
1549
+ */
1550
+ public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1551
+
1552
+ /**
1553
+ * Encodes the specified AIRichResponseTableMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
1554
+ * @param message AIRichResponseTableMetadata message or plain object to encode
1555
+ * @param [writer] Writer to encode to
1556
+ * @returns Writer
1557
+ */
1558
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
1559
+
1560
+ /**
1561
+ * Decodes a AIRichResponseTableMetadata message from the specified reader or buffer.
1562
+ * @param reader Reader or buffer to decode from
1563
+ * @param [length] Message length if known beforehand
1564
+ * @returns AIRichResponseTableMetadata
1565
+ * @throws {Error} If the payload is not a reader or valid buffer
1566
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1567
+ */
1568
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
1569
+
1570
+ /**
1571
+ * Decodes a AIRichResponseTableMetadata message from the specified reader or buffer, length delimited.
1572
+ * @param reader Reader or buffer to decode from
1573
+ * @returns AIRichResponseTableMetadata
1574
+ * @throws {Error} If the payload is not a reader or valid buffer
1575
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1576
+ */
1577
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
1578
+
1579
+ /**
1580
+ * Verifies a AIRichResponseTableMetadata message.
1581
+ * @param message Plain object to verify
1582
+ * @returns `null` if valid, otherwise the reason why it is not
1583
+ */
1584
+ public static verify(message: { [k: string]: any }): (string|null);
1585
+
1586
+ /**
1587
+ * Creates a AIRichResponseTableMetadata message from a plain object. Also converts values to their respective internal types.
1588
+ * @param object Plain object
1589
+ * @returns AIRichResponseTableMetadata
1590
+ */
1591
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
1592
+
1593
+ /**
1594
+ * Creates a plain object from a AIRichResponseTableMetadata message. Also converts values to other types if specified.
1595
+ * @param message AIRichResponseTableMetadata
1596
+ * @param [options] Conversion options
1597
+ * @returns Plain object
1598
+ */
1599
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
1600
+
1601
+ /**
1602
+ * Converts this AIRichResponseTableMetadata to JSON.
1603
+ * @returns JSON object
1604
+ */
1605
+ public toJSON(): { [k: string]: any };
1606
+
1607
+ /**
1608
+ * Gets the default type url for AIRichResponseTableMetadata
1609
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1610
+ * @returns The default type url
1611
+ */
1612
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1613
+ }
1614
+
1615
+ namespace AIRichResponseTableMetadata {
1616
+
1617
+ /** Properties of a AIRichResponseTableRow. */
1618
+ interface IAIRichResponseTableRow {
1619
+
1620
+ /** AIRichResponseTableRow items */
1621
+ items?: (string[]|null);
1622
+
1623
+ /** AIRichResponseTableRow isHeading */
1624
+ isHeading?: (boolean|null);
1625
+ }
1626
+
1627
+ /** Represents a AIRichResponseTableRow. */
1628
+ class AIRichResponseTableRow implements IAIRichResponseTableRow {
1629
+
1630
+ /**
1631
+ * Constructs a new AIRichResponseTableRow.
1632
+ * @param [properties] Properties to set
1633
+ */
1634
+ constructor(properties?: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow);
1635
+
1636
+ /** AIRichResponseTableRow items. */
1637
+ public items: string[];
1638
+
1639
+ /** AIRichResponseTableRow isHeading. */
1640
+ public isHeading?: (boolean|null);
1641
+
1642
+ /**
1643
+ * Creates a new AIRichResponseTableRow instance using the specified properties.
1644
+ * @param [properties] Properties to set
1645
+ * @returns AIRichResponseTableRow instance
1646
+ */
1647
+ public static create(properties?: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
1648
+
1649
+ /**
1650
+ * Encodes the specified AIRichResponseTableRow message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
1651
+ * @param message AIRichResponseTableRow message or plain object to encode
1652
+ * @param [writer] Writer to encode to
1653
+ * @returns Writer
1654
+ */
1655
+ public static encode(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
1656
+
1657
+ /**
1658
+ * Encodes the specified AIRichResponseTableRow message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
1659
+ * @param message AIRichResponseTableRow message or plain object to encode
1660
+ * @param [writer] Writer to encode to
1661
+ * @returns Writer
1662
+ */
1663
+ public static encodeDelimited(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
1664
+
1665
+ /**
1666
+ * Decodes a AIRichResponseTableRow message from the specified reader or buffer.
1667
+ * @param reader Reader or buffer to decode from
1668
+ * @param [length] Message length if known beforehand
1669
+ * @returns AIRichResponseTableRow
1670
+ * @throws {Error} If the payload is not a reader or valid buffer
1671
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1672
+ */
1673
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
1674
+
1675
+ /**
1676
+ * Decodes a AIRichResponseTableRow message from the specified reader or buffer, length delimited.
1677
+ * @param reader Reader or buffer to decode from
1678
+ * @returns AIRichResponseTableRow
1679
+ * @throws {Error} If the payload is not a reader or valid buffer
1680
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1681
+ */
1682
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
1683
+
1684
+ /**
1685
+ * Verifies a AIRichResponseTableRow message.
1686
+ * @param message Plain object to verify
1687
+ * @returns `null` if valid, otherwise the reason why it is not
1688
+ */
1689
+ public static verify(message: { [k: string]: any }): (string|null);
1690
+
1691
+ /**
1692
+ * Creates a AIRichResponseTableRow message from a plain object. Also converts values to their respective internal types.
1693
+ * @param object Plain object
1694
+ * @returns AIRichResponseTableRow
1695
+ */
1696
+ public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
1697
+
1698
+ /**
1699
+ * Creates a plain object from a AIRichResponseTableRow message. Also converts values to other types if specified.
1700
+ * @param message AIRichResponseTableRow
1701
+ * @param [options] Conversion options
1702
+ * @returns Plain object
1703
+ */
1704
+ public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
1705
+
1706
+ /**
1707
+ * Converts this AIRichResponseTableRow to JSON.
1708
+ * @returns JSON object
1709
+ */
1710
+ public toJSON(): { [k: string]: any };
1711
+
1712
+ /**
1713
+ * Gets the default type url for AIRichResponseTableRow
1714
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1715
+ * @returns The default type url
1716
+ */
1717
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1718
+ }
1719
+ }
1720
+ }
1721
+
587
1722
  /** Properties of an ActionLink. */
588
1723
  interface IActionLink {
589
1724
 
@@ -1533,6 +2668,8 @@ export namespace waproto {
1533
2668
  RICH_RESPONSE_THREAD_SURFING = 5,
1534
2669
  RICH_RESPONSE_TABLE = 6,
1535
2670
  RICH_RESPONSE_CODE = 7,
2671
+ RICH_RESPONSE_STRUCTURED_RESPONSE = 8,
2672
+ RICH_RESPONSE_INLINE_IMAGE = 9,
1536
2673
  WA_IG_1P_PLUGIN_RANKING_CONTROL = 10,
1537
2674
  WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11,
1538
2675
  WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12,
@@ -3471,6 +4608,7 @@ export namespace waproto {
3471
4608
 
3472
4609
  /** BotSessionSource enum. */
3473
4610
  enum BotSessionSource {
4611
+ NONE = 0,
3474
4612
  NULL_STATE = 1,
3475
4613
  TYPEAHEAD = 2,
3476
4614
  USER_INPUT = 3,
@@ -14070,6 +15208,9 @@ export namespace waproto {
14070
15208
 
14071
15209
  /** Message groupStatusMessage */
14072
15210
  groupStatusMessage?: (waproto.Message.IFutureProofMessage|null);
15211
+
15212
+ /** Message richResponseMessage */
15213
+ richResponseMessage?: (waproto.IAIRichResponseMessage|null);
14073
15214
  }
14074
15215
 
14075
15216
  /** Represents a Message. */
@@ -14321,6 +15462,9 @@ export namespace waproto {
14321
15462
  /** Message groupStatusMessage. */
14322
15463
  public groupStatusMessage?: (waproto.Message.IFutureProofMessage|null);
14323
15464
 
15465
+ /** Message richResponseMessage. */
15466
+ public richResponseMessage?: (waproto.IAIRichResponseMessage|null);
15467
+
14324
15468
  /**
14325
15469
  * Creates a new Message instance using the specified properties.
14326
15470
  * @param [properties] Properties to set
@@ -31132,6 +32276,9 @@ export namespace waproto {
31132
32276
 
31133
32277
  /** PollOption name */
31134
32278
  name?: (string|null);
32279
+
32280
+ /** PollOption hash */
32281
+ hash?: (string|null);
31135
32282
  }
31136
32283
 
31137
32284
  /** Represents a PollOption. */
@@ -31146,6 +32293,9 @@ export namespace waproto {
31146
32293
  /** PollOption name. */
31147
32294
  public name?: (string|null);
31148
32295
 
32296
+ /** PollOption hash. */
32297
+ public hash?: (string|null);
32298
+
31149
32299
  /**
31150
32300
  * Creates a new PollOption instance using the specified properties.
31151
32301
  * @param [properties] Properties to set