mirror of
https://github.com/DrKLO/Telegram.git
synced 2024-12-22 14:35:03 +01:00
Update layer 135
This commit is contained in:
parent
350fbf1ede
commit
0f541c9c9e
1 changed files with 10 additions and 4 deletions
|
@ -6240,7 +6240,7 @@ public class TLRPC {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class TL_peerSettings extends TLObject {
|
public static class TL_peerSettings extends TLObject {
|
||||||
public static int constructor = 0xa8228d2e;
|
public static int constructor = 0xa518110d;
|
||||||
|
|
||||||
public int flags;
|
public int flags;
|
||||||
public boolean report_spam;
|
public boolean report_spam;
|
||||||
|
@ -6251,8 +6251,9 @@ public class TLRPC {
|
||||||
public boolean report_geo;
|
public boolean report_geo;
|
||||||
public boolean autoarchived;
|
public boolean autoarchived;
|
||||||
public boolean invite_members;
|
public boolean invite_members;
|
||||||
|
public boolean request_chat_broadcast;
|
||||||
public int geo_distance;
|
public int geo_distance;
|
||||||
public Peer request_chat;
|
public String request_chat_title;
|
||||||
public int request_chat_date;
|
public int request_chat_date;
|
||||||
|
|
||||||
public static TL_peerSettings TLdeserialize(AbstractSerializedData stream, int constructor, boolean exception) {
|
public static TL_peerSettings TLdeserialize(AbstractSerializedData stream, int constructor, boolean exception) {
|
||||||
|
@ -6278,11 +6279,12 @@ public class TLRPC {
|
||||||
report_geo = (flags & 32) != 0;
|
report_geo = (flags & 32) != 0;
|
||||||
autoarchived = (flags & 128) != 0;
|
autoarchived = (flags & 128) != 0;
|
||||||
invite_members = (flags & 256) != 0;
|
invite_members = (flags & 256) != 0;
|
||||||
|
request_chat_broadcast = (flags & 1024) != 0;
|
||||||
if ((flags & 64) != 0) {
|
if ((flags & 64) != 0) {
|
||||||
geo_distance = stream.readInt32(exception);
|
geo_distance = stream.readInt32(exception);
|
||||||
}
|
}
|
||||||
if ((flags & 512) != 0) {
|
if ((flags & 512) != 0) {
|
||||||
request_chat = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
request_chat_title = stream.readString(exception);
|
||||||
}
|
}
|
||||||
if ((flags & 512) != 0) {
|
if ((flags & 512) != 0) {
|
||||||
request_chat_date = stream.readInt32(exception);
|
request_chat_date = stream.readInt32(exception);
|
||||||
|
@ -6299,12 +6301,13 @@ public class TLRPC {
|
||||||
flags = report_geo ? (flags | 32) : (flags &~ 32);
|
flags = report_geo ? (flags | 32) : (flags &~ 32);
|
||||||
flags = autoarchived ? (flags | 128) : (flags &~ 128);
|
flags = autoarchived ? (flags | 128) : (flags &~ 128);
|
||||||
flags = invite_members ? (flags | 256) : (flags &~ 256);
|
flags = invite_members ? (flags | 256) : (flags &~ 256);
|
||||||
|
flags = request_chat_broadcast ? (flags | 1024) : (flags &~ 1024);
|
||||||
stream.writeInt32(flags);
|
stream.writeInt32(flags);
|
||||||
if ((flags & 64) != 0) {
|
if ((flags & 64) != 0) {
|
||||||
stream.writeInt32(geo_distance);
|
stream.writeInt32(geo_distance);
|
||||||
}
|
}
|
||||||
if ((flags & 512) != 0) {
|
if ((flags & 512) != 0) {
|
||||||
request_chat.serializeToStream(stream);
|
stream.writeString(request_chat_title);
|
||||||
}
|
}
|
||||||
if ((flags & 512) != 0) {
|
if ((flags & 512) != 0) {
|
||||||
stream.writeInt32(request_chat_date);
|
stream.writeInt32(request_chat_date);
|
||||||
|
@ -52268,6 +52271,7 @@ public class TLRPC {
|
||||||
public TL_messageReactions reactions;
|
public TL_messageReactions reactions;
|
||||||
public ArrayList<TL_restrictionReason> restriction_reason = new ArrayList<>();
|
public ArrayList<TL_restrictionReason> restriction_reason = new ArrayList<>();
|
||||||
public int ttl_period;
|
public int ttl_period;
|
||||||
|
public boolean noforwards;
|
||||||
public int send_state = 0; //custom
|
public int send_state = 0; //custom
|
||||||
public int fwd_msg_id = 0; //custom
|
public int fwd_msg_id = 0; //custom
|
||||||
public String attachPath = ""; //custom
|
public String attachPath = ""; //custom
|
||||||
|
@ -53077,6 +53081,7 @@ public class TLRPC {
|
||||||
legacy = (flags & 524288) != 0;
|
legacy = (flags & 524288) != 0;
|
||||||
edit_hide = (flags & 2097152) != 0;
|
edit_hide = (flags & 2097152) != 0;
|
||||||
pinned = (flags & 16777216) != 0;
|
pinned = (flags & 16777216) != 0;
|
||||||
|
noforwards = (flags & 67108864) != 0;
|
||||||
id = stream.readInt32(exception);
|
id = stream.readInt32(exception);
|
||||||
if ((flags & 256) != 0) {
|
if ((flags & 256) != 0) {
|
||||||
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
from_id = Peer.TLdeserialize(stream, stream.readInt32(exception), exception);
|
||||||
|
@ -53173,6 +53178,7 @@ public class TLRPC {
|
||||||
flags = legacy ? (flags | 524288) : (flags &~ 524288);
|
flags = legacy ? (flags | 524288) : (flags &~ 524288);
|
||||||
flags = edit_hide ? (flags | 2097152) : (flags &~ 2097152);
|
flags = edit_hide ? (flags | 2097152) : (flags &~ 2097152);
|
||||||
flags = pinned ? (flags | 16777216) : (flags &~ 16777216);
|
flags = pinned ? (flags | 16777216) : (flags &~ 16777216);
|
||||||
|
flags = noforwards ? (flags | 67108864) : (flags &~ 67108864);
|
||||||
stream.writeInt32(flags);
|
stream.writeInt32(flags);
|
||||||
stream.writeInt32(id);
|
stream.writeInt32(id);
|
||||||
if ((flags & 256) != 0) {
|
if ((flags & 256) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue