@@ -74,7 +74,7 @@ public class TLRPC {
74
74
public static final int MESSAGE_FLAG_HAS_BOT_ID = 0x00000800;
75
75
public static final int MESSAGE_FLAG_EDITED = 0x00008000;
76
76
77
- public static final int LAYER = 161 ;
77
+ public static final int LAYER = 162 ;
78
78
79
79
public static class TL_stats_megagroupStats extends TLObject {
80
80
public static int constructor = 0xef7ff916;
@@ -26688,12 +26688,14 @@ public static class TL_messageActionBotAllowed extends MessageAction {
26688
26688
public static int constructor = 0xc516d679;
26689
26689
26690
26690
public boolean attach_menu;
26691
+ public boolean from_request;
26691
26692
public String domain;
26692
26693
public BotApp app;
26693
26694
26694
26695
public void readParams(AbstractSerializedData stream, boolean exception) {
26695
26696
flags = stream.readInt32(exception);
26696
26697
attach_menu = (flags & 2) != 0;
26698
+ from_request = (flags & 8) != 0;
26697
26699
if ((flags & 1) != 0) {
26698
26700
domain = stream.readString(exception);
26699
26701
}
@@ -26705,6 +26707,7 @@ public void readParams(AbstractSerializedData stream, boolean exception) {
26705
26707
public void serializeToStream(AbstractSerializedData stream) {
26706
26708
stream.writeInt32(constructor);
26707
26709
flags = attach_menu ? (flags | 2) : (flags &~ 2);
26710
+ flags = from_request ? (flags | 8) : (flags &~ 8);
26708
26711
stream.writeInt32(flags);
26709
26712
if ((flags & 1) != 0) {
26710
26713
stream.writeString(domain);
@@ -71082,6 +71085,56 @@ public void serializeToStream(AbstractSerializedData stream) {
71082
71085
reaction.serializeToStream(stream);
71083
71086
}
71084
71087
}
71088
+
71089
+ public static class TL_bots_canSendMessage extends TLObject {
71090
+ public static int constructor = 0x1359f4e6;
71091
+
71092
+ public InputUser bot;
71093
+
71094
+ public TLObject deserializeResponse(AbstractSerializedData stream, int constructor, boolean exception) {
71095
+ return Bool.TLdeserialize(stream, constructor, exception);
71096
+ }
71097
+
71098
+ public void serializeToStream(AbstractSerializedData stream) {
71099
+ stream.writeInt32(constructor);
71100
+ bot.serializeToStream(stream);
71101
+ }
71102
+ }
71103
+
71104
+ public static class TL_bots_allowSendMessage extends TLObject {
71105
+ public static int constructor = 0xf132e3ef;
71106
+
71107
+ public InputUser bot;
71108
+
71109
+ public TLObject deserializeResponse(AbstractSerializedData stream, int constructor, boolean exception) {
71110
+ return Updates.TLdeserialize(stream, constructor, exception);
71111
+ }
71112
+
71113
+ public void serializeToStream(AbstractSerializedData stream) {
71114
+ stream.writeInt32(constructor);
71115
+ bot.serializeToStream(stream);
71116
+ }
71117
+ }
71118
+
71119
+ public static class TL_bots_invokeWebViewCustomMethod extends TLObject {
71120
+ public static int constructor = 0x87fc5e7;
71121
+
71122
+ public InputUser bot;
71123
+ public String custom_method;
71124
+ public TL_dataJSON params;
71125
+
71126
+ public TLObject deserializeResponse(AbstractSerializedData stream, int constructor, boolean exception) {
71127
+ return TL_dataJSON.TLdeserialize(stream, constructor, exception);
71128
+ }
71129
+
71130
+ public void serializeToStream(AbstractSerializedData stream) {
71131
+ stream.writeInt32(constructor);
71132
+ bot.serializeToStream(stream);
71133
+ stream.writeString(custom_method);
71134
+ params.serializeToStream(stream);
71135
+ }
71136
+ }
71137
+
71085
71138
//functions
71086
71139
71087
71140
public static class Vector extends TLObject {
0 commit comments