SendPhoto

fun SendPhoto(chatId: ChatIdentifier, photo: InputFile, text: String? = null, parseMode: ParseMode? = null, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<PhotoContent>>
fun SendPhoto(chatId: ChatIdentifier, photo: InputFile, entities: TextSourcesList, spoilered: Boolean = false, threadId: MessageThreadId? = chatId.threadId, disableNotification: Boolean = false, protectContent: Boolean = false, replyToMessageId: MessageId? = null, allowSendingWithoutReply: Boolean? = null, replyMarkup: KeyboardMarkup? = null): Request<ContentMessage<PhotoContent>>