コード例 #1
0
	def get_structure(self):
		return ("country", TL_string()), ("this_dc", TL_int()), ("nearest_dc", TL_int()),
コード例 #2
0
	def get_structure(self):
		return ("user_id", TL_int()), ("first_name", TL_string()), ("last_name", TL_string()), (
			"username", TL_string()),
コード例 #3
0
	def get_structure(self):
		return ("type", TL_string()), ("message", TL_string()), ("media", MessageMedia()), ("popup", Bool()),
コード例 #4
0
	def get_structure(self):
		return ("text", TL_string()),
コード例 #5
0
	def get_structure(self):
		return ("code", TL_int()), ("text", TL_string()),
コード例 #6
0
	def get_structure(self):
		return ("mute_until", TL_int()), ("sound", TL_string()), ("show_previews", Bool()), ("events_mask", TL_int()),
コード例 #7
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("sizes", Vector()), ("color", TL_int()),
コード例 #8
0
	def get_structure(self):
		return ("time", TL_double()), ("type", TL_string()), ("peer", TL_long()), ("data", TL_string()),
コード例 #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()),
コード例 #10
0
	def get_structure(self):
		return ("file", InputFile()), ("duration", TL_int()), ("mime_type", TL_string()),
コード例 #11
0
	def get_structure(self):
		return ("file", InputFile()), ("thumb", InputFile()), ("file_name", TL_string()), ("mime_type", TL_string()),
コード例 #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()),
コード例 #13
0
	def get_structure(self):
		return ("phone_number", TL_string()), ("first_name", TL_string()), ("last_name", TL_string()),
コード例 #14
0
	def get_structure(self):
		return ("id", TL_long()), ("parts", TL_int()), ("md5_checksum", TL_string()), ("key_fingerprint", TL_int()),
コード例 #15
0
	def get_structure(self):
		return ("type", TL_string()), ("location", FileLocation()), ("w", TL_int()), ("h", TL_int()), (
			"bytes", TL_bytes()),
コード例 #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()),
コード例 #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()),
コード例 #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()),
コード例 #19
0
	def get_structure(self):
		return ("client_id", TL_long()), ("phone", TL_string()), ("first_name", TL_string()), (
			"last_name", TL_string()),
コード例 #20
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("date", TL_int()),
コード例 #21
0
	def get_structure(self):
		return ("id", TL_int()), ("title", TL_string()), ("bg_color", TL_int()), ("color", TL_int()),
コード例 #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()),
コード例 #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()),
コード例 #24
0
	def get_structure(self):
		return ("title", TL_string()), ("users", Vector()),
コード例 #25
0
	def get_structure(self):
		return ("id", TL_long()), ("parts", TL_int()), ("name", TL_string()),
コード例 #26
0
	def get_structure(self):
		return ("title", TL_string()),
コード例 #27
0
	def get_structure(self):
		return ("auth_key_id", TL_long()), ("date", TL_int()), ("device", TL_string()), ("location", TL_string()),
コード例 #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()),
コード例 #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()),
コード例 #30
0
	def get_structure(self):
		return ("id", TL_int()), ("hostname", TL_string()), ("ip_address", TL_string()), ("port", TL_int()),