The Wayback Machine - https://web.archive.org/web/20201202194712/https://github.com/topics/tdlib
Skip to content
#

tdlib

Here are 87 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 tdlib 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 tdlib topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.