SetChatPhoto constructor

const SetChatPhoto({
  1. required int chatId,
  2. InputChatPhoto? photo,
})

Changes the photo of a chat. Supported only for basic groups, supergroups and channels. Requires can_change_info administrator right

Implementation

const SetChatPhoto({
  required this.chatId,
  this.photo,
});