faloreg.blogg.se

My telegram api
My telegram api








my telegram api

This method will connect to the telegram servers and check if the user is already logged in. Used to handle all aspects of connecting to telegram.

  • Defined in gramjs/client/TelegramClient.ts:54.
  • new Telegram Client (session : string | Session, apiId : number, apiHash : string, clientParams : TelegramClientParams ) : TelegramClient.
  • Defined in gramjs/client/telegramBaseClient.ts:567.
  • Defined in gramjs/client/telegramBaseClient.ts:380.
  • my telegram api

    Inherited from TelegramBaseClient.disconnected Defined in gramjs/client/telegramBaseClient.ts:350.get connected ( ) : undefined | boolean.Defined in gramjs/client/telegramBaseClient.ts:331.Inherited from TelegramBaseClient.maxConcurrentDownloads set maxConcurrentDownloads (value : number ) : void.Defined in gramjs/client/telegramBaseClient.ts:327.Defined in gramjs/client/telegramBaseClient.ts:323.Inherited from TelegramBaseClient.floodSleepThreshold set floodSleepThreshold (value : number ) : void.parseMode ) Returns undefined | ParseInterface See Api.TypeMessageEntity for allowed message entities.Įxample // gets the current parse mode. The unparse method should be the inverse of parse such that text = unparse(parse(text)). The parse method should be a function accepting a single parameter, the text to parse, and returning a tuple consisting of (parsed message str, ). For Markdown 'md' or 'markdown' may be used. When setting a different value it should be one of: It will always be either undefined or an object with parse and unparse methods.

    my telegram api

    This property is the default parse mode used when sending messages. Defined in gramjs/client/TelegramClient.ts:1539.Import telegramBotApi from "././telegram_bot_api.app.










    My telegram api