Module TelegramApi.PhotoSize.Out

module Out: sig .. end
This module is used to deal with outgoing photo messages

type photo_size = {
   chat_id : int;
   photo : string;
   caption : string option;
   disable_notification : bool;
   reply_to_message_id : int option;
   reply_markup : TelegramApi.ReplyMarkup.reply_markup option;
}
Represents the outgoing photo message. Note that the photo field can either be an existing file id or the raw bytes from a file
val create : chat_id:int ->
photo:string ->
?caption:string option ->
?disable_notification:bool ->
?reply_to:int option ->
?reply_markup:TelegramApi.ReplyMarkup.reply_markup option ->
unit -> photo_size
Create a photo_size in a concise manner

Prepare a photo_size for sending -- used in the case of a file id

val prepare : photo_size -> string
Prepare a photo_size for sending -- used in the case of the raw bytes
val prepare_multipart : photo_size -> string -> string Lwt.t