SetChatBackground constructor

const SetChatBackground({
  1. required int chatId,
  2. InputBackground? background,
  3. BackgroundType? type,
  4. required int darkThemeDimming,
})

Changes the background in a specific chat. Supported only in private and secret chats with non-deleted users

Implementation

const SetChatBackground({
  required this.chatId,
  this.background,
  this.type,
  required this.darkThemeDimming,
});