SetProfileShareTheme constructor

const SetProfileShareTheme({
  1. required int chatId,
  2. InputProfileShareTheme? theme,
})

Changes the theme of the screen for sharing a link to the current user or a chat. The chat must have a username. Requires can_change_info administrator right in supergroups and channels

Implementation

const SetProfileShareTheme({required this.chatId, this.theme});