messages.GetChats

class pyrogram.raw.functions.messages.GetChats

Returns chat basic info on their IDs.

Details:
  • Layer: 223

  • ID: 49E9528F

Parameters:

id (List of int 64-bit) – List of chat IDs

Returns:

messages.Chats

TL Schema

messages.getChats#49e9528f
id:Vector<long>

= messages.Chats

Parameter Tree

GetChats
└── idVector < long >

Example

await app.invoke(
    GetChats(
        id=[0],
    )
)