Skip to content

Commit

Permalink
Regenerate docs HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
painor committed Aug 6, 2023
1 parent 38d7d68 commit c01e08f
Show file tree
Hide file tree
Showing 90 changed files with 7,138 additions and 0 deletions.
69 changes: 69 additions & 0 deletions generator/tl/account/ClearRecentEmojiStatuses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# account.ClearRecentEmojiStatuses

No description found

## Example

::::tabs
:::tab{title="JavaScript"}
```js
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result = await client.invoke(new Api.account.ClearRecentEmojiStatuses({}));
console.log(result); // prints the result
})();
```
:::

:::tab{title="TypeScript"}
```ts
import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result: Api.Bool = await client.invoke(new Api.account.ClearRecentEmojiStatuses({}));
console.log(result); // prints the result
})();
```
:::
::::



## Parameters

| Name | Type | Description |
| :--: | ---- | ----------- |



## Result

Bool

## Possible errors

| Code | Type | Description |
| :--: | ---- | ----------- |



## Can bots use this method?

No

## Related pages


69 changes: 69 additions & 0 deletions generator/tl/account/DeleteAutoSaveExceptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# account.DeleteAutoSaveExceptions

No description found

## Example

::::tabs
:::tab{title="JavaScript"}
```js
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result = await client.invoke(new Api.account.DeleteAutoSaveExceptions({}));
console.log(result); // prints the result
})();
```
:::

:::tab{title="TypeScript"}
```ts
import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result: Api.Bool = await client.invoke(new Api.account.DeleteAutoSaveExceptions({}));
console.log(result); // prints the result
})();
```
:::
::::



## Parameters

| Name | Type | Description |
| :--: | ---- | ----------- |



## Result

Bool

## Possible errors

| Code | Type | Description |
| :--: | ---- | ----------- |



## Can bots use this method?

No

## Related pages


69 changes: 69 additions & 0 deletions generator/tl/account/GetAutoSaveSettings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# account.GetAutoSaveSettings

No description found

## Example

::::tabs
:::tab{title="JavaScript"}
```js
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result = await client.invoke(new Api.account.GetAutoSaveSettings({}));
console.log(result); // prints the result
})();
```
:::

:::tab{title="TypeScript"}
```ts
import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result: Api.account.AutoSaveSettings = await client.invoke(new Api.account.GetAutoSaveSettings({}));
console.log(result); // prints the result
})();
```
:::
::::



## Parameters

| Name | Type | Description |
| :--: | ---- | ----------- |



## Result

account.AutoSaveSettings

## Possible errors

| Code | Type | Description |
| :--: | ---- | ----------- |



## Can bots use this method?

No

## Related pages


74 changes: 74 additions & 0 deletions generator/tl/account/GetDefaultEmojiStatuses.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# account.GetDefaultEmojiStatuses

No description found

## Example

::::tabs
:::tab{title="JavaScript"}
```js
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result = await client.invoke(new Api.account.GetDefaultEmojiStatuses({
hash: BigInt('-4156887774564')
}));
console.log(result); // prints the result
})();
```
:::

:::tab{title="TypeScript"}
```ts
import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result: Api.account.EmojiStatuses = await client.invoke(new Api.account.GetDefaultEmojiStatuses({
hash: BigInt('-4156887774564')
}));
console.log(result); // prints the result
})();
```
:::
::::



## Parameters

| Name | Type | Description |
| :--: | ---- | ----------- |

|hash|long|No description found


## Result

account.EmojiStatuses

## Possible errors

| Code | Type | Description |
| :--: | ---- | ----------- |



## Can bots use this method?

No

## Related pages


74 changes: 74 additions & 0 deletions generator/tl/account/GetDefaultGroupPhotoEmojis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# account.GetDefaultGroupPhotoEmojis

No description found

## Example

::::tabs
:::tab{title="JavaScript"}
```js
const {Api, TelegramClient} = require('telegram');
const {StringSession} = require('telegram/sessions');

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result = await client.invoke(new Api.account.GetDefaultGroupPhotoEmojis({
hash: BigInt('-4156887774564')
}));
console.log(result); // prints the result
})();
```
:::

:::tab{title="TypeScript"}
```ts
import {Api, TelegramClient} from 'telegram';
import {StringSession} from 'telegram/sessions';

const session = new StringSession(''); // You should put your string session here
const client = new TelegramClient(session, apiId, apiHash, {});

(async function run() {
await client.connect() // This assumes you have already authenticated with .start()

const result: Api.EmojiList = await client.invoke(new Api.account.GetDefaultGroupPhotoEmojis({
hash: BigInt('-4156887774564')
}));
console.log(result); // prints the result
})();
```
:::
::::



## Parameters

| Name | Type | Description |
| :--: | ---- | ----------- |

|hash|long|No description found


## Result

EmojiList

## Possible errors

| Code | Type | Description |
| :--: | ---- | ----------- |



## Can bots use this method?

No

## Related pages


Loading

0 comments on commit c01e08f

Please sign in to comment.