Skip to content
#

mtproto

Here are 111 public repositories matching this topic...

LazarenkoA
LazarenkoA commented Oct 25, 2020

Please help with an example of sending a photo to an arbitrary chat. Here's what I found myself

client.MessagesSendMedia(&telegram.MessagesSendMediaParams{
	Silent:       false,
	Background:   false,
	ClearDraft:   false,
	Peer:         &telegram.InputPeerUser{ // user data
		UserId:     2121212,
		AccessHash: 212121211221,
	},
	ReplyToMsgId: 0,
	Media:        ???, 
	Message:    

Improve this page

Add a description, image, and links to the mtproto topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mtproto topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.