package telegram

import (
	

	
)

// SendMessage sends message to peer.
//
// Deprecated: use helpers like message.NewSender.
func ( *Client) ( context.Context,  *tg.MessagesSendMessageRequest) error {
	if .RandomID == 0 {
		,  := .RandInt64()
		if  != nil {
			return 
		}
		.RandomID = 
	}
	,  := .tg.MessagesSendMessage(, )
	if  != nil {
		return 
	}
	return .processUpdates()
}