method client.TelegramClient.prototype.getMessagesimport { client } from "https://deno.land/x/grm@0.6.0/mod.ts"; const { TelegramClient } = client; getMessages(entity: Api.TypeEntityLike | undefined, getMessagesParams?: Partial<types.IterMessagesParams>): Promise<TotalList<Api.Message>>Parametersentity: Api.TypeEntityLike | undefinedoptionalgetMessagesParams: Partial<types.IterMessagesParams> = [UNSUPPORTED]ReturnsPromise<TotalList<Api.Message>>