|
Can you help me to send message via this method |
Answered by
Eltar007
Aug 31, 2022
Replies: 1 comment 1 reply
|
I've received this task ) |
1 reply
Answer selected by
ForNeVeR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

I've received this task )
// Getting chats to get access to my chat var chats = await _client.ExecuteAsync(new TdApi.GetChats() { Limit = 500 }); // compare content TdApi.InputMessageContent content = new TdApi.InputMessageContent.InputMessageText() { Extra = null, Text = new TdApi.FormattedText() { Extra = null, Text = "hello world!" } }; // sending compared content await _client.ExecuteAsync(new TdApi.SendMessage() { ChatId = 832378177, InputMessageContent = content });