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 member right

Implementation

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