You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Requests/Manage Chat/Topics/CreateForumTopicRequest.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
// GENERATED FILE - DO NOT MODIFY MANUALLY
2
2
namespaceTelegram.Bot.Requests;
3
3
4
-
/// <summary>Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the <em>CanManageTopics</em> administrator rights.<para>Returns: Information about the created topic as a <see cref="ForumTopic"/> object.</para></summary>
4
+
/// <summary>Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the <em>CanManageTopics</em> administrator right.<para>Returns: Information about the created topic as a <see cref="ForumTopic"/> object.</para></summary>
/// <summary>Changes the emoji status for a given user that previously allowed the bot to manage their emoji status via the Mini App method <a href="https://core.telegram.org/bots/webapps#initializing-mini-apps">requestEmojiStatusAccess</a>.</summary>
1368
1388
/// <param name="botClient">An instance of <see cref="ITelegramBotClient"/></param>
1369
1389
/// <param name="userId">Unique identifier of the target user</param>
@@ -1986,7 +2006,7 @@ public static async Task<Sticker[]> GetForumTopicIconStickers(
1986
2006
{
1987
2007
},cancellationToken).ConfigureAwait(false);
1988
2008
1989
-
/// <summary>Use this method to create a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the <em>CanManageTopics</em> administrator rights.</summary>
2009
+
/// <summary>Use this method to create a topic in a forum supergroup chat or a private chat with a user. In the case of a supergroup chat the bot must be an administrator in the chat for this to work and must have the <em>CanManageTopics</em> administrator right.</summary>
1990
2010
/// <param name="botClient">An instance of <see cref="ITelegramBotClient"/></param>
1991
2011
/// <param name="chatId">Unique identifier for the target chat or username of the target supergroup (in the format <c>@supergroupusername</c>)</param>
Copy file name to clipboardExpand all lines: src/Telegram.Bot/Types/Chat.cs
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -195,6 +195,10 @@ public partial class ChatFullInfo : Chat
195
195
/// <summary><em>Optional</em>. For private chats, the rating of the user if any</summary>
196
196
publicUserRating?Rating{get;set;}
197
197
198
+
/// <summary><em>Optional</em>. For private chats, the first audio added to the profile of the user</summary>
199
+
[JsonPropertyName("first_profile_audio")]
200
+
publicAudio?FirstProfileAudio{get;set;}
201
+
198
202
/// <summary><em>Optional</em>. The color scheme based on a unique gift that must be used for the chat's name, message replies and link previews</summary>
0 commit comments