messages.SummarizeText
- class pyrogram.raw.functions.messages.SummarizeText
{schema}
- Details:
Layer:
223ID:
9D4104E2
- Parameters:
peer (
InputPeer)id (
int32-bit)to_lang (
str, optional)
- Returns:
TL Schema
messages.summarizeText#9d4104e2
flags:#
peer:InputPeer
id:int
to_lang:flags.0?string
= TextWithEntities
Parameter Tree
SummarizeText
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── id →
int└── to_lang →
string (optional)Example
await app.invoke(
SummarizeText(
peer=await app.resolve_peer(chat_id),
id=0,
to_lang="text",
)
)