From 5f156540f76f33bb64f20935559ce3562c9e3ab4 Mon Sep 17 00:00:00 2001 From: Kyle2142 <19349418+Kyle2142@users.noreply.github.com> Date: Sun, 24 Jun 2018 22:23:47 +0200 Subject: [PATCH] Updated Privacy settings (markdown) --- Privacy-settings.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Privacy-settings.md b/Privacy-settings.md index e8d9c21..7f4628c 100644 --- a/Privacy-settings.md +++ b/Privacy-settings.md @@ -16,7 +16,8 @@ To allow no one except "@best_friend" to see your last seen, you would use this: ```python from telethon import TelegramClient from telethon.tl.functions.account import SetPrivacyRequest -from telethon.tl.types import InputPrivacyKeyStatusTimestamp, InputPrivacyValueAllowUsers, InputPrivacyValueDisallowAll +from telethon.tl.types import InputPrivacyKeyStatusTimestamp, InputPrivacyValueAllowUsers,\ + InputPrivacyValueDisallowAll client = TelegramClient(session, api_id, api_hash).start() bff = client.get_input_entity('@best_friend')