2016-06-01 19 views
1

現在のチャンネルプロフィール写真を電報からチャンネルID別にapiまたは...で取得するには?テレグラムgetプロフィールプロフィール写真

例えば私のチャンネルIDは@wikidailyで、チャネルリンクはhttps://telegram.me/wikidaily

Thxをです。

+0

誰も私を助けることができない! :( – mghhgm

答えて

0

see here

あなたはこの機能を試すことができますが、(あなたはすでにあなたが受けていた以前の対話応答から持っていなければならない)少なくともInputChannel詳細を知っておく必要があります:

inputChannel#afeb712e channel_id:int access_hash:long = InputChannel; 

---機能---

channels.getFullChannel#8736a09 channel:InputChannel = messages.ChatFull; 

戻り値:

あなたが必要と写真を抽出することができますこのことからタイプ ChatFullfull_chat:ChatFullが含まれてい
messages.chatFull#e5d7d19c full_chat:ChatFull chats:Vector<Chat> users:Vector<User> = messages.ChatFull; 

:私はシンプルな直接法を見つけることができれば、私はこの記事を更新しますchat_photo:Photo

channelFull#c3d5512f flags:# can_view_participants:flags.3?true can_set_username:flags.6?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int = ChatFull; 

を。

歓声。