메소드 | 설명 | |
---|---|---|
SetChatAdministratorCustomTitle ( BotClient bot, long chatId, long userId, string customTitle ) : bool |
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
|
|
SetChatAdministratorCustomTitle ( BotClient bot, string chatId, long userId, string customTitle ) : bool |
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
|
|
SetChatAdministratorCustomTitleAsync ( BotClient bot, long chatId, long userId, string customTitle, CancellationToken cancellationToken ) : Task |
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
|
|
SetChatAdministratorCustomTitleAsync ( BotClient bot, string chatId, long userId, string customTitle, CancellationToken cancellationToken ) : Task |
Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns True on success.
|
public static SetChatAdministratorCustomTitle ( BotClient bot, long chatId, long userId, string customTitle ) : bool | ||
bot | BotClient | Bot Client |
chatId | long | Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). |
userId | long | Unique identifier of the target user. |
customTitle | string | New custom title for the administrator; 0-16 characters, emoji are not allowed. |
리턴 | bool |
public static SetChatAdministratorCustomTitle ( BotClient bot, string chatId, long userId, string customTitle ) : bool | ||
bot | BotClient | Bot Client |
chatId | string | Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). |
userId | long | Unique identifier of the target user. |
customTitle | string | New custom title for the administrator; 0-16 characters, emoji are not allowed. |
리턴 | bool |
public static SetChatAdministratorCustomTitleAsync ( BotClient bot, long chatId, long userId, string customTitle, CancellationToken cancellationToken ) : Task |
||
bot | BotClient | Bot Client |
chatId | long | Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). |
userId | long | Unique identifier of the target user. |
customTitle | string | New custom title for the administrator; 0-16 characters, emoji are not allowed. |
cancellationToken | CancellationToken | The cancellation token to cancel operation. |
리턴 | Task |
public static SetChatAdministratorCustomTitleAsync ( BotClient bot, string chatId, long userId, string customTitle, CancellationToken cancellationToken ) : Task |
||
bot | BotClient | Bot Client |
chatId | string | Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername). |
userId | long | Unique identifier of the target user. |
customTitle | string | New custom title for the administrator; 0-16 characters, emoji are not allowed. |
cancellationToken | CancellationToken | The cancellation token to cancel operation. |
리턴 | Task |