chatHasUsername property

bool? chatHasUsername
final

Optional. Pass True to request a supergroup or a channel with a username, pass False to request a chat without a username. If not specified, no additional restrictions are applied.

Implementation

final bool? chatHasUsername;