Exemplo n.º 1
0
	def get_structure(self):
		return ("country", TL_string()), ("this_dc", TL_int()), ("nearest_dc", TL_int()),
Exemplo n.º 2
0
	def get_structure(self):
		return ("user_id", TL_int()), ("first_name", TL_string()), ("last_name", TL_string()), (
			"username", TL_string()),
Exemplo n.º 3
0
	def get_structure(self):
		return ("type", TL_string()), ("message", TL_string()), ("media", MessageMedia()), ("popup", Bool()),
Exemplo n.º 4
0
	def get_structure(self):
		return ("text", TL_string()),
Exemplo n.º 5
0
	def get_structure(self):
		return ("code", TL_int()), ("text", TL_string()),
Exemplo n.º 6
0
	def get_structure(self):
		return ("mute_until", TL_int()), ("sound", TL_string()), ("show_previews", Bool()), ("events_mask", TL_int()),
Exemplo n.º 7
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("sizes", Vector()), ("color", TL_int()),
Exemplo n.º 8
0
	def get_structure(self):
		return ("time", TL_double()), ("type", TL_string()), ("peer", TL_long()), ("data", TL_string()),
Exemplo n.º 9
0
	def get_structure(self):
		return ("id", TL_int()), ("first_name", TL_string()), ("last_name", TL_string()), ("username", TL_string()), (
			"phone", TL_string()), ("photo", UserProfilePhoto()), ("status", UserStatus()), ("inactive", Bool()),
Exemplo n.º 10
0
	def get_structure(self):
		return ("file", InputFile()), ("duration", TL_int()), ("mime_type", TL_string()),
Exemplo n.º 11
0
	def get_structure(self):
		return ("file", InputFile()), ("thumb", InputFile()), ("file_name", TL_string()), ("mime_type", TL_string()),
Exemplo n.º 12
0
	def get_structure(self):
		return ("id", TL_long()), ("access_hash", TL_long()), ("user_id", TL_int()), ("date", TL_int()), (
			"duration", TL_int()), ("mime_type", TL_string()), ("size", TL_int()), ("dc_id", TL_int()),
Exemplo n.º 13
0
	def get_structure(self):
		return ("phone_number", TL_string()), ("first_name", TL_string()), ("last_name", TL_string()),
Exemplo n.º 14
0
	def get_structure(self):
		return ("id", TL_long()), ("parts", TL_int()), ("md5_checksum", TL_string()), ("key_fingerprint", TL_int()),
Exemplo n.º 15
0
	def get_structure(self):
		return ("type", TL_string()), ("location", FileLocation()), ("w", TL_int()), ("h", TL_int()), (
			"bytes", TL_bytes()),
Exemplo n.º 16
0
	def get_structure(self):
		return ("id", TL_int()), ("first_name", TL_string()), ("last_name", TL_string()), ("username", TL_string()), (
			"access_hash", TL_long()), ("photo", UserProfilePhoto()), ("status", UserStatus()),
Exemplo n.º 17
0
	def get_structure(self):
		return ("id", TL_long()), ("access_hash", TL_long()), ("user_id", TL_int()), \
			   ("date", TL_int()), ("caption", TL_string()), ("duration", TL_int()), \
			   ("mime_type", TL_string()), ("size", TL_int()), ("thumb", PhotoSize()), \
			   ("dc_id", TL_int()), ("w", TL_int()), ("h", TL_int()),
Exemplo n.º 18
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("photo", ChatPhoto()), ("participants_count", TL_int()), (
			"date", TL_int()), ("left", Bool()), ("version", TL_int()),
Exemplo n.º 19
0
	def get_structure(self):
		return ("client_id", TL_long()), ("phone", TL_string()), ("first_name", TL_string()), (
			"last_name", TL_string()),
Exemplo n.º 20
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("date", TL_int()),
Exemplo n.º 21
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("bg_color", TL_int()), ("color", TL_int()),
Exemplo n.º 22
0
	def get_structure(self):
		return ("flags", TL_int()), ("id", TL_int()), ("fwd_from_id", TL_int()), ("fwd_date", TL_int()), \
			   ("from_id", TL_int()), ("to_id", Peer()), ("date", TL_int()), ("message", TL_string()), \
			   ("media", MessageMedia()),
Exemplo n.º 23
0
	def get_structure(self):
		return ("user", User()), ("link", Link()), ("profile_photo", Photo()), \
			   ("notify_settings", PeerNotifySettings()), ("blocked", Bool()), \
			   ("real_first_name", TL_string()), ("real_last_name", TL_string()),
Exemplo n.º 24
0
	def get_structure(self):
		return ("title", TL_string()), ("users", Vector()),
Exemplo n.º 25
0
	def get_structure(self):
		return ("id", TL_long()), ("parts", TL_int()), ("name", TL_string()),
Exemplo n.º 26
0
	def get_structure(self):
		return ("title", TL_string()),
Exemplo n.º 27
0
	def get_structure(self):
		return ("auth_key_id", TL_long()), ("date", TL_int()), ("device", TL_string()), ("location", TL_string()),
Exemplo n.º 28
0
	def get_structure(self):
		return ("id", TL_long()), ("access_hash", TL_long()), ("user_id", TL_int()), ("date", TL_int()), (
			"caption", TL_string()), ("geo", GeoPoint()), ("sizes", Vector()),
Exemplo n.º 29
0
	def get_structure(self):
		return ("id", TL_int()), ("from_id", TL_int()), ("chat_id", TL_int()), ("message", TL_string()), (
			"pts", TL_int()), ("date", TL_int()), ("seq", TL_int()),
Exemplo n.º 30
0
	def get_structure(self):
		return ("id", TL_int()), ("hostname", TL_string()), ("ip_address", TL_string()), ("port", TL_int()),