mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 14:35:43 +00:00
MainUsername property on IPeerInfo
This commit is contained in:
parent
fd9177f805
commit
2f3106fe69
8 changed files with 153 additions and 99 deletions
|
|
@ -374,8 +374,9 @@ var chatInvite = await client.Messages_CheckChatInvite("HASH"); // optional: get
|
|||
await client.Messages_ImportChatInvite("HASH"); // join the channel/group
|
||||
// Note: This works also with HASH invite links from public channel/group
|
||||
```
|
||||
Note: `CheckChatInvite` can return [3 different types of invitation object](https://corefork.telegram.org/type/ChatInvite)
|
||||
`CheckChatInvite` can return [3 different types of invitation object](https://corefork.telegram.org/type/ChatInvite)
|
||||
|
||||
You can also use helper methods `AnalyzeInviteLink` and `GetMessageByLink` to more easily fetch information from links.
|
||||
<a name="add-members"></a>
|
||||
## Add/Invite/Remove someone in a chat
|
||||
```csharp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue