summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-03-23 02:00:39 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-03-23 02:00:39 +0300
commit31001a7298e2e50cd92d175d69c9b142eeef6882 (patch)
tree3e05fe30c9fe6304594b56cbf65db3114260ea48
parentd5629fb68f6e63ed85f56ad4b933044f60b08b9b (diff)
upd
-rw-r--r--main.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.py b/main.py
index fd0cffb..652bf1a 100644
--- a/main.py
+++ b/main.py
@@ -16,7 +16,10 @@ def main():
messages = client.get_sms()
for m in messages:
- print(m)
+ print(f"phone: {m.phone}")
+ print(f"ts: {m.timestamp()}")
+ print(f"content: {m.content}")
+ print('-----')
if __name__ == '__main__':