SetChatBackground constructor
const
SetChatBackground({
- required int chatId,
- InputBackground? background,
- BackgroundType? type,
- required int darkThemeDimming,
- required bool onlyForSelf,
Sets the background in a specific chat. Supported only in private and secret chats with non-deleted users, and in chats with sufficient boost level and can_change_info administrator right
Implementation
const SetChatBackground({
required this.chatId,
this.background,
this.type,
required this.darkThemeDimming,
required this.onlyForSelf,
});