public override void Read(BinaryReader reader) { this.message = Tl.Parse <GeoChatMessage>(reader); reader.ReadInt32(); // vector code int chats_len = reader.ReadInt32(); this.chats = new List <Chat>(chats_len); for (int chats_index = 0; chats_index < chats_len; chats_index++) { Chat chats_element; chats_element = Tl.Parse <Chat>(reader); this.chats.Add(chats_element); } reader.ReadInt32(); // vector code int users_len = reader.ReadInt32(); this.users = new List <User>(users_len); for (int users_index = 0; users_index < users_len; users_index++) { User users_element; users_element = Tl.Parse <User>(reader); this.users.Add(users_element); } this.seq = reader.ReadInt32(); }
public Geochats_statedMessageConstructor(GeoChatMessage message, List <Chat> chats, List <User> users, int seq) { this.message = message; this.chats = chats; this.users = users; this.seq = seq; }
public override void Read(BinaryReader reader) { this.message = Tl.Parse <GeoChatMessage>(reader); }
public UpdateNewGeoChatMessageConstructor(GeoChatMessage message) { this.message = message; }