gramstax 0.0.3 → 0.0.4
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/src/index.cjs +1 -1
- package/dist/src/index.cjs.map +1 -1
- package/dist/src/index.d.cts +2 -379
- package/dist/src/index.d.ts +2 -379
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
package/dist/src/index.d.cts
CHANGED
|
@@ -496,386 +496,9 @@ declare class Gramstax {
|
|
|
496
496
|
templateManager: TemplateManager;
|
|
497
497
|
cacheKeyboard: Map<any, any>;
|
|
498
498
|
cacheSession: CacheExternal;
|
|
499
|
-
log: LoggingPretty$1 | undefined;
|
|
499
|
+
log: LoggingPretty$1 | undefined | null;
|
|
500
500
|
bot: Bot;
|
|
501
|
-
pages:
|
|
502
|
-
all: Record<string, IPageBase>;
|
|
503
|
-
dynamic: string[];
|
|
504
|
-
dynamicSpesific: {
|
|
505
|
-
text: {
|
|
506
|
-
name: string;
|
|
507
|
-
func: string;
|
|
508
|
-
}[];
|
|
509
|
-
photo: {
|
|
510
|
-
name: string;
|
|
511
|
-
func: string;
|
|
512
|
-
}[];
|
|
513
|
-
video: {
|
|
514
|
-
name: string;
|
|
515
|
-
func: string;
|
|
516
|
-
}[];
|
|
517
|
-
audio: {
|
|
518
|
-
name: string;
|
|
519
|
-
func: string;
|
|
520
|
-
}[];
|
|
521
|
-
document: {
|
|
522
|
-
name: string;
|
|
523
|
-
func: string;
|
|
524
|
-
}[];
|
|
525
|
-
animation: {
|
|
526
|
-
name: string;
|
|
527
|
-
func: string;
|
|
528
|
-
}[];
|
|
529
|
-
voice: {
|
|
530
|
-
name: string;
|
|
531
|
-
func: string;
|
|
532
|
-
}[];
|
|
533
|
-
videoNote: {
|
|
534
|
-
name: string;
|
|
535
|
-
func: string;
|
|
536
|
-
}[];
|
|
537
|
-
sticker: {
|
|
538
|
-
name: string;
|
|
539
|
-
func: string;
|
|
540
|
-
}[];
|
|
541
|
-
location: {
|
|
542
|
-
name: string;
|
|
543
|
-
func: string;
|
|
544
|
-
}[];
|
|
545
|
-
contact: {
|
|
546
|
-
name: string;
|
|
547
|
-
func: string;
|
|
548
|
-
}[];
|
|
549
|
-
};
|
|
550
|
-
static: {
|
|
551
|
-
text: Record<string, {
|
|
552
|
-
name: string;
|
|
553
|
-
func: string;
|
|
554
|
-
}>;
|
|
555
|
-
callback: Record<string, {
|
|
556
|
-
name: string;
|
|
557
|
-
func: string;
|
|
558
|
-
}>;
|
|
559
|
-
textCommand: Record<string, {
|
|
560
|
-
name: string;
|
|
561
|
-
func: string;
|
|
562
|
-
}>;
|
|
563
|
-
photoCaption: Record<string, {
|
|
564
|
-
name: string;
|
|
565
|
-
func: string;
|
|
566
|
-
}>;
|
|
567
|
-
photoCaptionCommand: Record<string, {
|
|
568
|
-
name: string;
|
|
569
|
-
func: string;
|
|
570
|
-
}>;
|
|
571
|
-
videoCaption: Record<string, {
|
|
572
|
-
name: string;
|
|
573
|
-
func: string;
|
|
574
|
-
}>;
|
|
575
|
-
videoCaptionCommand: Record<string, {
|
|
576
|
-
name: string;
|
|
577
|
-
func: string;
|
|
578
|
-
}>;
|
|
579
|
-
audioCaption: Record<string, {
|
|
580
|
-
name: string;
|
|
581
|
-
func: string;
|
|
582
|
-
}>;
|
|
583
|
-
audioCaptionCommand: Record<string, {
|
|
584
|
-
name: string;
|
|
585
|
-
func: string;
|
|
586
|
-
}>;
|
|
587
|
-
documentCaption: Record<string, {
|
|
588
|
-
name: string;
|
|
589
|
-
func: string;
|
|
590
|
-
}>;
|
|
591
|
-
documentCaptionCommand: Record<string, {
|
|
592
|
-
name: string;
|
|
593
|
-
func: string;
|
|
594
|
-
}>;
|
|
595
|
-
animationCaption: Record<string, {
|
|
596
|
-
name: string;
|
|
597
|
-
func: string;
|
|
598
|
-
}>;
|
|
599
|
-
animationCaptionCommand: Record<string, {
|
|
600
|
-
name: string;
|
|
601
|
-
func: string;
|
|
602
|
-
}>;
|
|
603
|
-
voiceCaption: Record<string, {
|
|
604
|
-
name: string;
|
|
605
|
-
func: string;
|
|
606
|
-
}>;
|
|
607
|
-
voiceCaptionCommand: Record<string, {
|
|
608
|
-
name: string;
|
|
609
|
-
func: string;
|
|
610
|
-
}>;
|
|
611
|
-
videoNoteCaption: Record<string, {
|
|
612
|
-
name: string;
|
|
613
|
-
func: string;
|
|
614
|
-
}>;
|
|
615
|
-
videoNoteCaptionCommand: Record<string, {
|
|
616
|
-
name: string;
|
|
617
|
-
func: string;
|
|
618
|
-
}>;
|
|
619
|
-
};
|
|
620
|
-
staticIntent: {
|
|
621
|
-
callbackPayload: Record<string, {
|
|
622
|
-
name: string;
|
|
623
|
-
func: string;
|
|
624
|
-
}>;
|
|
625
|
-
textPayload: Record<string, {
|
|
626
|
-
name: string;
|
|
627
|
-
func: string;
|
|
628
|
-
}>;
|
|
629
|
-
textCommandPayload: Record<string, {
|
|
630
|
-
name: string;
|
|
631
|
-
func: string;
|
|
632
|
-
}>;
|
|
633
|
-
photoCaptionPayload: Record<string, {
|
|
634
|
-
name: string;
|
|
635
|
-
func: string;
|
|
636
|
-
}>;
|
|
637
|
-
photoCaptionCommandPayload: Record<string, {
|
|
638
|
-
name: string;
|
|
639
|
-
func: string;
|
|
640
|
-
}>;
|
|
641
|
-
videoCaptionPayload: Record<string, {
|
|
642
|
-
name: string;
|
|
643
|
-
func: string;
|
|
644
|
-
}>;
|
|
645
|
-
videoCaptionCommandPayload: Record<string, {
|
|
646
|
-
name: string;
|
|
647
|
-
func: string;
|
|
648
|
-
}>;
|
|
649
|
-
audioCaptionPayload: Record<string, {
|
|
650
|
-
name: string;
|
|
651
|
-
func: string;
|
|
652
|
-
}>;
|
|
653
|
-
audioCaptionCommandPayload: Record<string, {
|
|
654
|
-
name: string;
|
|
655
|
-
func: string;
|
|
656
|
-
}>;
|
|
657
|
-
documentCaptionPayload: Record<string, {
|
|
658
|
-
name: string;
|
|
659
|
-
func: string;
|
|
660
|
-
}>;
|
|
661
|
-
documentCaptionCommandPayload: Record<string, {
|
|
662
|
-
name: string;
|
|
663
|
-
func: string;
|
|
664
|
-
}>;
|
|
665
|
-
animationCaptionPayload: Record<string, {
|
|
666
|
-
name: string;
|
|
667
|
-
func: string;
|
|
668
|
-
}>;
|
|
669
|
-
animationCaptionCommandPayload: Record<string, {
|
|
670
|
-
name: string;
|
|
671
|
-
func: string;
|
|
672
|
-
}>;
|
|
673
|
-
voiceCaptionPayload: Record<string, {
|
|
674
|
-
name: string;
|
|
675
|
-
func: string;
|
|
676
|
-
}>;
|
|
677
|
-
voiceCaptionCommandPayload: Record<string, {
|
|
678
|
-
name: string;
|
|
679
|
-
func: string;
|
|
680
|
-
}>;
|
|
681
|
-
videoNoteCaptionPayload: Record<string, {
|
|
682
|
-
name: string;
|
|
683
|
-
func: string;
|
|
684
|
-
}>;
|
|
685
|
-
videoNoteCaptionCommandPayload: Record<string, {
|
|
686
|
-
name: string;
|
|
687
|
-
func: string;
|
|
688
|
-
}>;
|
|
689
|
-
};
|
|
690
|
-
staticSession: {
|
|
691
|
-
text: Record<string, {
|
|
692
|
-
name: string;
|
|
693
|
-
func: string;
|
|
694
|
-
}>;
|
|
695
|
-
callback: Record<string, {
|
|
696
|
-
name: string;
|
|
697
|
-
func: string;
|
|
698
|
-
}>;
|
|
699
|
-
textCommand: Record<string, {
|
|
700
|
-
name: string;
|
|
701
|
-
func: string;
|
|
702
|
-
}>;
|
|
703
|
-
photoCaption: Record<string, {
|
|
704
|
-
name: string;
|
|
705
|
-
func: string;
|
|
706
|
-
}>;
|
|
707
|
-
photoCaptionCommand: Record<string, {
|
|
708
|
-
name: string;
|
|
709
|
-
func: string;
|
|
710
|
-
}>;
|
|
711
|
-
videoCaption: Record<string, {
|
|
712
|
-
name: string;
|
|
713
|
-
func: string;
|
|
714
|
-
}>;
|
|
715
|
-
videoCaptionCommand: Record<string, {
|
|
716
|
-
name: string;
|
|
717
|
-
func: string;
|
|
718
|
-
}>;
|
|
719
|
-
audioCaption: Record<string, {
|
|
720
|
-
name: string;
|
|
721
|
-
func: string;
|
|
722
|
-
}>;
|
|
723
|
-
audioCaptionCommand: Record<string, {
|
|
724
|
-
name: string;
|
|
725
|
-
func: string;
|
|
726
|
-
}>;
|
|
727
|
-
documentCaption: Record<string, {
|
|
728
|
-
name: string;
|
|
729
|
-
func: string;
|
|
730
|
-
}>;
|
|
731
|
-
documentCaptionCommand: Record<string, {
|
|
732
|
-
name: string;
|
|
733
|
-
func: string;
|
|
734
|
-
}>;
|
|
735
|
-
animationCaption: Record<string, {
|
|
736
|
-
name: string;
|
|
737
|
-
func: string;
|
|
738
|
-
}>;
|
|
739
|
-
animationCaptionCommand: Record<string, {
|
|
740
|
-
name: string;
|
|
741
|
-
func: string;
|
|
742
|
-
}>;
|
|
743
|
-
voiceCaption: Record<string, {
|
|
744
|
-
name: string;
|
|
745
|
-
func: string;
|
|
746
|
-
}>;
|
|
747
|
-
voiceCaptionCommand: Record<string, {
|
|
748
|
-
name: string;
|
|
749
|
-
func: string;
|
|
750
|
-
}>;
|
|
751
|
-
videoNoteCaption: Record<string, {
|
|
752
|
-
name: string;
|
|
753
|
-
func: string;
|
|
754
|
-
}>;
|
|
755
|
-
videoNoteCaptionCommand: Record<string, {
|
|
756
|
-
name: string;
|
|
757
|
-
func: string;
|
|
758
|
-
}>;
|
|
759
|
-
callbackPayload: Record<string, {
|
|
760
|
-
name: string;
|
|
761
|
-
func: string;
|
|
762
|
-
}>;
|
|
763
|
-
textPayload: Record<string, {
|
|
764
|
-
name: string;
|
|
765
|
-
func: string;
|
|
766
|
-
}>;
|
|
767
|
-
textCommandPayload: Record<string, {
|
|
768
|
-
name: string;
|
|
769
|
-
func: string;
|
|
770
|
-
}>;
|
|
771
|
-
photoCaptionPayload: Record<string, {
|
|
772
|
-
name: string;
|
|
773
|
-
func: string;
|
|
774
|
-
}>;
|
|
775
|
-
photoCaptionCommandPayload: Record<string, {
|
|
776
|
-
name: string;
|
|
777
|
-
func: string;
|
|
778
|
-
}>;
|
|
779
|
-
videoCaptionPayload: Record<string, {
|
|
780
|
-
name: string;
|
|
781
|
-
func: string;
|
|
782
|
-
}>;
|
|
783
|
-
videoCaptionCommandPayload: Record<string, {
|
|
784
|
-
name: string;
|
|
785
|
-
func: string;
|
|
786
|
-
}>;
|
|
787
|
-
audioCaptionPayload: Record<string, {
|
|
788
|
-
name: string;
|
|
789
|
-
func: string;
|
|
790
|
-
}>;
|
|
791
|
-
audioCaptionCommandPayload: Record<string, {
|
|
792
|
-
name: string;
|
|
793
|
-
func: string;
|
|
794
|
-
}>;
|
|
795
|
-
documentCaptionPayload: Record<string, {
|
|
796
|
-
name: string;
|
|
797
|
-
func: string;
|
|
798
|
-
}>;
|
|
799
|
-
documentCaptionCommandPayload: Record<string, {
|
|
800
|
-
name: string;
|
|
801
|
-
func: string;
|
|
802
|
-
}>;
|
|
803
|
-
animationCaptionPayload: Record<string, {
|
|
804
|
-
name: string;
|
|
805
|
-
func: string;
|
|
806
|
-
}>;
|
|
807
|
-
animationCaptionCommandPayload: Record<string, {
|
|
808
|
-
name: string;
|
|
809
|
-
func: string;
|
|
810
|
-
}>;
|
|
811
|
-
voiceCaptionPayload: Record<string, {
|
|
812
|
-
name: string;
|
|
813
|
-
func: string;
|
|
814
|
-
}>;
|
|
815
|
-
voiceCaptionCommandPayload: Record<string, {
|
|
816
|
-
name: string;
|
|
817
|
-
func: string;
|
|
818
|
-
}>;
|
|
819
|
-
videoNoteCaptionPayload: Record<string, {
|
|
820
|
-
name: string;
|
|
821
|
-
func: string;
|
|
822
|
-
}>;
|
|
823
|
-
videoNoteCaptionCommandPayload: Record<string, {
|
|
824
|
-
name: string;
|
|
825
|
-
func: string;
|
|
826
|
-
}>;
|
|
827
|
-
textFree: Record<string, {
|
|
828
|
-
name: string;
|
|
829
|
-
func: string;
|
|
830
|
-
}>;
|
|
831
|
-
photoFree: Record<string, {
|
|
832
|
-
name: string;
|
|
833
|
-
func: string;
|
|
834
|
-
}>;
|
|
835
|
-
videoFree: Record<string, {
|
|
836
|
-
name: string;
|
|
837
|
-
func: string;
|
|
838
|
-
}>;
|
|
839
|
-
audioFree: Record<string, {
|
|
840
|
-
name: string;
|
|
841
|
-
func: string;
|
|
842
|
-
}>;
|
|
843
|
-
documentFree: Record<string, {
|
|
844
|
-
name: string;
|
|
845
|
-
func: string;
|
|
846
|
-
}>;
|
|
847
|
-
animationFree: Record<string, {
|
|
848
|
-
name: string;
|
|
849
|
-
func: string;
|
|
850
|
-
}>;
|
|
851
|
-
voiceFree: Record<string, {
|
|
852
|
-
name: string;
|
|
853
|
-
func: string;
|
|
854
|
-
}>;
|
|
855
|
-
videoNoteFree: Record<string, {
|
|
856
|
-
name: string;
|
|
857
|
-
func: string;
|
|
858
|
-
}>;
|
|
859
|
-
stickerFree: Record<string, {
|
|
860
|
-
name: string;
|
|
861
|
-
func: string;
|
|
862
|
-
}>;
|
|
863
|
-
locationFree: Record<string, {
|
|
864
|
-
name: string;
|
|
865
|
-
func: string;
|
|
866
|
-
}>;
|
|
867
|
-
contactFree: Record<string, {
|
|
868
|
-
name: string;
|
|
869
|
-
func: string;
|
|
870
|
-
}>;
|
|
871
|
-
};
|
|
872
|
-
listFuncStatic: readonly ["callback", "text", "textCommand", "photoCaption", "photoCaptionCommand", "videoCaption", "videoCaptionCommand", "audioCaption", "audioCaptionCommand", "documentCaption", "documentCaptionCommand", "animationCaption", "animationCaptionCommand", "voiceCaption", "voiceCaptionCommand", "videoNoteCaption", "videoNoteCaptionCommand"];
|
|
873
|
-
listFuncStaticIntent: readonly ["callbackPayload", "textPayload", "textCommandPayload", "photoCaptionPayload", "photoCaptionCommandPayload", "videoCaptionPayload", "videoCaptionCommandPayload", "audioCaptionPayload", "audioCaptionCommandPayload", "documentCaptionPayload", "documentCaptionCommandPayload", "animationCaptionPayload", "animationCaptionCommandPayload", "voiceCaptionPayload", "voiceCaptionCommandPayload", "videoNoteCaptionPayload", "videoNoteCaptionCommandPayload"];
|
|
874
|
-
listFuncStaticSession: readonly ["callback", "text", "textCommand", "photoCaption", "photoCaptionCommand", "videoCaption", "videoCaptionCommand", "audioCaption", "audioCaptionCommand", "documentCaption", "documentCaptionCommand", "animationCaption", "animationCaptionCommand", "voiceCaption", "voiceCaptionCommand", "videoNoteCaption", "videoNoteCaptionCommand", "callbackPayload", "textPayload", "textCommandPayload", "photoCaptionPayload", "photoCaptionCommandPayload", "videoCaptionPayload", "videoCaptionCommandPayload", "audioCaptionPayload", "audioCaptionCommandPayload", "documentCaptionPayload", "documentCaptionCommandPayload", "animationCaptionPayload", "animationCaptionCommandPayload", "voiceCaptionPayload", "voiceCaptionCommandPayload", "videoNoteCaptionPayload", "videoNoteCaptionCommandPayload", "textFree", "photoFree", "videoFree", "audioFree", "documentFree", "animationFree", "voiceFree", "videoNoteFree", "stickerFree", "locationFree", "contactFree"];
|
|
875
|
-
lenListFuncStatic: 17;
|
|
876
|
-
lenListFuncStaticIntent: 17;
|
|
877
|
-
lenListFuncStaticSession: 45;
|
|
878
|
-
};
|
|
501
|
+
pages: ReturnType<typeof this.pageLoads>;
|
|
879
502
|
constructor(params: {
|
|
880
503
|
token: string;
|
|
881
504
|
deploy: string;
|